diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-10 15:43:11 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-10 15:43:11 +0000 |
commit | 74a537f811b89b1b31ba37bf476dd1aaf0de8ed3 (patch) | |
tree | 00799de844e18c1ca581226ec05f150a88dd2af9 /menu.c | |
parent | [w3m-dev 02815] (diff) | |
download | w3m-74a537f811b89b1b31ba37bf476dd1aaf0de8ed3.tar.gz w3m-74a537f811b89b1b31ba37bf476dd1aaf0de8ed3.zip |
[w3m-dev 02817]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: menu.c,v 1.10 2002/01/10 15:39:21 ukai Exp $ */ +/* $Id: menu.c,v 1.11 2002/01/10 15:43:11 ukai Exp $ */ /* * w3m menu.c */ @@ -979,7 +979,7 @@ menuBackwardSearch(Menu *menu, char *str, int from) from = menu->nitem - 1; for (i = from; i >= 0; 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; } |