* xmenu.c (create_and_show_popup_menu): Port comment to C89.

This commit is contained in:
Paul Eggert 2014-01-29 10:39:11 -08:00
parent 824a51e6a5
commit e9abb8a824
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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

View file

@ -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;
}