[Mplayer-cvslog] CVS: main/libmenu menu_list.c,1.3,1.4
Dmitry Baryshkov CVS
lumag at mplayerhq.hu
Wed Sep 24 09:36:27 CEST 2003
Update of /cvsroot/mplayer/main/libmenu
In directory mail:/var/tmp.root/cvs-serv15045
Modified Files:
menu_list.c
Log Message:
Fix long-known bug with handling 'down key' in lists.
Index: menu_list.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmenu/menu_list.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- menu_list.c 9 Feb 2003 20:18:20 -0000 1.3
+++ menu_list.c 24 Sep 2003 07:35:59 -0000 1.4
@@ -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) {
More information about the MPlayer-cvslog
mailing list