From e9abb8a824edaf235acdf11e10e6ffd300276dac Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 29 Jan 2014 10:39:11 -0800 Subject: [PATCH] * xmenu.c (create_and_show_popup_menu): Port comment to C89. --- src/ChangeLog | 4 ++++ src/xmenu.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 86c07c52937..ea9db78185f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-01-29 Paul Eggert + + * xmenu.c (create_and_show_popup_menu): Port comment to C89. + 2014-01-29 Eli Zaretskii * .gdbinit (xprintstr, xprintbytestr): Don't use repetition count diff --git a/src/xmenu.c b/src/xmenu.c index c101d9f5975..9b1ac540c21 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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; } -- 2.39.2