commit e642b71ca3dc3826b58338581c168725a4f8621a
parent 2655690502a093aff90d97e3197c71eceb8eb5f1
Author: ukai <ukai>
Date: Tue, 10 Dec 2002 15:41:31 +0000
[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:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git 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
diff --git a/menu.c b/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;
}