4
menu.c
4
menu.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: menu.c,v 1.9 2001/12/10 17:02:44 ukai Exp $ */
|
||||
/* $Id: menu.c,v 1.10 2002/01/10 15:39:21 ukai Exp $ */
|
||||
/*
|
||||
* w3m menu.c
|
||||
*/
|
||||
@@ -930,7 +930,7 @@ menuForwardSearch(Menu *menu, char *str, int from)
|
||||
from = 0;
|
||||
for (i = from; i < menu->nitem; i++)
|
||||
if (menu->item[i].type != MENU_NOP &&
|
||||
regexMatch(menu->item[i].label, 0, 1) == 1)
|
||||
regexMatch(menu->item[i].label, -1, 1) == 1)
|
||||
return i;
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user