projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ed3e4
)
Fix specifying terminal names to some functions on Haiku
author
Po Lu
<luangruo@yahoo.com>
Thu, 19 May 2022 06:46:21 +0000
(06:46 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 19 May 2022 06:46:21 +0000
(06:46 +0000)
* src/haikufns.c (haiku_display_info_for_name): Implement
correctly.
src/haikufns.c
patch
|
blob
|
history
diff --git
a/src/haikufns.c
b/src/haikufns.c
index 314152008b0812b75bfe90bc11c0868a6659940b..427ca7762da317eb2b1d9d4a949d01e2cb567293 100644
(file)
--- 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\"");