From 1cc244ff7f66d224d8c2b44dc55326fde81146f8 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sun, 28 Feb 2016 08:50:13 +0900 Subject: Fix SIGFPE for ACCESSKEY Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779092 --- menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'menu.c') 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; @@ -2061,7 +2062,6 @@ list_menu(Buffer *buf) } label[nitem] = NULL; - set_menu_frame(); set_menu_frame(); new_option_menu(&menu, label, &key, NULL); -- cgit v1.2.3