changeset 10935:ec8a1e6443d5

Fix long-known bug with handling 'down key' in lists.
author lumag
date Wed, 24 Sep 2003 07:35:59 +0000
parents 18441d649eed
children 51bc09f2977c
files libmenu/menu_list.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu_list.c	Wed Sep 24 07:05:17 2003 +0000
+++ b/libmenu/menu_list.c	Wed Sep 24 07:35:59 2003 +0000
@@ -137,7 +137,7 @@
 }
 
 void menu_list_jump_to_key(menu_t* menu,int c) {
-  if(isalnum(c)) {
+  if(c < 256 && isalnum(c)) {
     list_entry_t* e = mpriv->current;
     if(e->txt[0] == c) e = e->next;
     for(  ; e ; e = e->next) {