Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fe8fa62f
Commit
fe8fa62f
authored
Jul 25, 1996
by
Richard M. Stallman
Browse files
(set_frame_menubar): Use -1 for call_data
in the deep_p = 0 case.
parent
06c2c73d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/xmenu.c
src/xmenu.c
+5
-0
No files found.
src/xmenu.c
View file @
fe8fa62f
...
...
@@ -1732,6 +1732,11 @@ set_frame_menubar (f, first_time, deep_p)
wv
->
name
=
(
char
*
)
XSTRING
(
string
)
->
data
;
wv
->
value
=
0
;
wv
->
enabled
=
1
;
/* This prevents lwlib from assuming this
menu item is really supposed to be empty. */
/* The EMACS_INT cast avoids a warning.
This value just has to be different from small integers. */
wv
->
call_data
=
(
void
*
)
(
EMACS_INT
)
(
-
1
);
if
(
prev_wv
)
prev_wv
->
next
=
wv
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment