projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3cba47
)
Fix creation of menu items without help text on Haiku
author
Po Lu
<luangruo@yahoo.com>
Wed, 1 Jun 2022 05:05:42 +0000
(
05:05
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 1 Jun 2022 05:06:14 +0000
(
05:06
+0000)
* src/haiku_support.cc (EmacsMenuItem): Don't mistakenly assume
help is non-NULL.
src/haiku_support.cc
patch
|
blob
|
history
diff --git
a/src/haiku_support.cc
b/src/haiku_support.cc
index 2411a7b539bd4458e111107b22c8b39dff1a7c67..3b1a2cfcb38373a1dcd831bcd2c03fd989bb7fce 100644
(file)
--- a/
src/haiku_support.cc
+++ b/
src/haiku_support.cc
@@
-2403,7
+2403,8
@@
public:
if (key_label)
key = strdup (key_label);
- this->help = strdup (help);
+ if (help)
+ this->help = strdup (help);
}
~EmacsMenuItem ()