aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmenu
diff options
context:
space:
mode:
authorGravatar lumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-24 07:35:59 +0000
committerGravatar lumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-24 07:35:59 +0000
commit6ebdf741f7d9d7836f00618b6140f4d2981c2310 (patch)
tree614b843a6db0641ceb14856cc36ee3735da38006 /libmenu
parent4937e3f595e537c944c53bda0d849dda395f87df (diff)
Fix long-known bug with handling 'down key' in lists.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10936 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/menu_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmenu/menu_list.c b/libmenu/menu_list.c
index 0f7b0d8325..0b0a894555 100644
--- a/libmenu/menu_list.c
+++ b/libmenu/menu_list.c
@@ -137,7 +137,7 @@ void menu_list_read_cmd(menu_t* menu,int cmd) {
}
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) {