Mercurial > emacs
changeset 45310:472f06c53d46
(read_char_x_menu_prompt): Use an equivalent but more meaningful test.
(read_char_minibuf_menu_prompt): Fix typo.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 15 May 2002 22:34:57 +0000 |
parents | 105aeedf106c |
children | e0b2a1bb3593 |
files | src/keyboard.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Wed May 15 22:14:16 2002 +0000 +++ b/src/keyboard.c Wed May 15 22:34:57 2002 +0000 @@ -7528,7 +7528,7 @@ } /* If we don't have any menus, just read a character normally. */ - if (mapno >= nmaps) + if (!STRINGP (name)) return Qnil; #ifdef HAVE_MENUS @@ -7639,7 +7639,7 @@ } /* If we don't have any menus, just read a character normally. */ - if (!STRINGP (name)); + if (!STRINGP (name)) return Qnil; /* Prompt string always starts with map's prompt, and a space. */