aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-02-27 23:50:13 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-02-27 23:50:13 +0000
commit1cc244ff7f66d224d8c2b44dc55326fde81146f8 (patch)
treec3789118cce1d1670c27121d38ee9572e284e4a5
parentTypo fix for ACCESSKEY (diff)
downloadw3m-1cc244ff7f66d224d8c2b44dc55326fde81146f8.tar.gz
w3m-1cc244ff7f66d224d8c2b44dc55326fde81146f8.zip
Fix SIGFPE for ACCESSKEY
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779092
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index e968034..11a5369 100644
--- a/menu.c
+++ b/menu.c
@@ -1950,6 +1950,7 @@ accesskey_menu(Buffer *buf)
}
label[nitem] = NULL;
+ set_menu_frame();
new_option_menu(&menu, label, &key, NULL);
menu.initial = 0;
@@ -2062,7 +2063,6 @@ list_menu(Buffer *buf)
label[nitem] = NULL;
set_menu_frame();
- set_menu_frame();
new_option_menu(&menu, label, &key, NULL);
menu.initial = 0;