aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-10 15:41:31 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-10 15:41:31 +0000
commit529b4cb63ddea2286cf2b98321294df69b0d262c (patch)
tree2b31c6fac8ae55c1f9b657a4eb797ad59991bca4
parentfix indent (diff)
downloadw3m-529b4cb63ddea2286cf2b98321294df69b0d262c.tar.gz
w3m-529b4cb63ddea2286cf2b98321294df69b0d262c.zip
[w3m-dev 03552] Re: link list
* menu.c (accesskey_menu): check hseq (list_menu): check hseq From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog8
-rw-r--r--menu.c6
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c8a2b3..4c67e17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03552] Re: link list
+ * menu.c (accesskey_menu): check hseq
+ (list_menu): check hseq
+
+2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03551] Re: External URI loader
* file.c (loadGeneralFile): fix SCM_UNKNONWN
@@ -5681,4 +5687,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.607 2002/12/10 15:36:10 ukai Exp $
+$Id: ChangeLog,v 1.608 2002/12/10 15:41:31 ukai Exp $
diff --git a/menu.c b/menu.c
index 4cb6716..cef60c5 100644
--- a/menu.c
+++ b/menu.c
@@ -1,4 +1,4 @@
-/* $Id: menu.c,v 1.28 2002/12/10 15:36:11 ukai Exp $ */
+/* $Id: menu.c,v 1.29 2002/12/10 15:41:32 ukai Exp $ */
/*
* w3m menu.c
*/
@@ -1935,7 +1935,7 @@ accesskey_menu(Buffer *buf)
a = retrieveCurrentAnchor(buf);
if (a && a->accesskey && IS_ASCII(a->accesskey)) {
for (i = 0; i < nitem; i++) {
- if (a == ap[i]) {
+ if (a->hseq == ap[i]->hseq) {
menu.initial = i;
break;
}
@@ -2049,7 +2049,7 @@ list_menu(Buffer *buf)
a = retrieveCurrentAnchor(buf);
if (a) {
for (i = 0; i < nitem; i++) {
- if (a == ap[i]) {
+ if (a->hseq == ap[i]->hseq) {
menu.initial = i;
break;
}