diff options
| author | Eli Zaretskii | 2013-10-05 20:38:22 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-10-05 20:38:22 +0300 |
| commit | f9e5cb0ad3a19e7c630d469720ec3576e5c17514 (patch) | |
| tree | c0fe4841355bfe81d9c8b23691f4d9845963fc7f /src | |
| parent | 401cf89091fc2f8f40b6668e996812f314060105 (diff) | |
| download | emacs-f9e5cb0ad3a19e7c630d469720ec3576e5c17514.tar.gz emacs-f9e5cb0ad3a19e7c630d469720ec3576e5c17514.zip | |
Improve commentary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/menu.c b/src/menu.c index c3ab358bebf..447faf60b1f 100644 --- a/src/menu.c +++ b/src/menu.c | |||
| @@ -1087,6 +1087,9 @@ into menu items. */) | |||
| 1087 | /* Find the menu bar item under `col'. */ | 1087 | /* Find the menu bar item under `col'. */ |
| 1088 | item = Qnil; | 1088 | item = Qnil; |
| 1089 | items = FRAME_MENU_BAR_ITEMS (f); | 1089 | items = FRAME_MENU_BAR_ITEMS (f); |
| 1090 | /* This loop assumes a single menu-bar line, and will fail to | ||
| 1091 | find an item if it is not in the first line. Note that | ||
| 1092 | make_lispy_event in keyboard.c makes the same assumption. */ | ||
| 1090 | for (i = 0; i < ASIZE (items); i += 4) | 1093 | for (i = 0; i < ASIZE (items); i += 4) |
| 1091 | { | 1094 | { |
| 1092 | Lisp_Object pos, str; | 1095 | Lisp_Object pos, str; |