[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e54e44c94e: Fix specifying terminal names to some functions on Ha
From: |
Po Lu |
Subject: |
master e54e44c94e: Fix specifying terminal names to some functions on Haiku |
Date: |
Thu, 19 May 2022 02:46:42 -0400 (EDT) |
branch: master
commit e54e44c94e390c9f472d62fef5d1360a962e7269
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix specifying terminal names to some functions on Haiku
* src/haikufns.c (haiku_display_info_for_name): Implement
correctly.
---
src/haikufns.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/haikufns.c b/src/haikufns.c
index 314152008b..427ca7762d 100644
--- a/src/haikufns.c
+++ b/src/haikufns.c
@@ -358,12 +358,12 @@ haiku_display_info_for_name (Lisp_Object name)
{
CHECK_STRING (name);
- if (!NILP (Fstring_equal (name, build_string ("be"))))
+ if (!strcmp (SSDATA (name), "be"))
{
- if (!x_display_list)
+ if (x_display_list)
return x_display_list;
- error ("Haiku windowing not initialized");
+ return haiku_term_init ();
}
error ("Haiku displays can only be named \"be\"");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e54e44c94e: Fix specifying terminal names to some functions on Haiku,
Po Lu <=