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
e9abb8a8
Commit
e9abb8a8
authored
Jan 29, 2014
by
Paul Eggert
Browse files
* xmenu.c (create_and_show_popup_menu): Port comment to C89.
parent
824a51e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/xmenu.c
src/xmenu.c
+1
-1
No files found.
src/ChangeLog
View file @
e9abb8a8
2014-01-29 Paul Eggert <eggert@cs.ucla.edu>
* xmenu.c (create_and_show_popup_menu): Port comment to C89.
2014-01-29 Eli Zaretskii <eliz@gnu.org>
* .gdbinit (xprintstr, xprintbytestr): Don't use repetition count
...
...
src/xmenu.c
View file @
e9abb8a8
...
...
@@ -1306,7 +1306,7 @@ create_and_show_popup_menu (struct frame *f, widget_value *first_wv,
for
(
i
=
0
;
i
<
5
;
i
++
)
if
(
FRAME_DISPLAY_INFO
(
f
)
->
grabbed
&
(
1
<<
i
))
break
;
/
/
If keys aren't grabbed (i.e. a mouse up event), use 0.
/
*
If keys aren't grabbed (i.e.
,
a mouse up event), use 0.
*/
if
(
i
==
5
)
i
=
0
;
}
...
...
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