diff libmenu/menu_list.c @ 10935:ec8a1e6443d5

Fix long-known bug with handling 'down key' in lists.
author lumag
date Wed, 24 Sep 2003 07:35:59 +0000
parents edfe34c5405d
children 931bdbc37ee0
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) {