Fix SIGFPE for ACCESSKEY
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779092
This commit is contained in:
2
menu.c
2
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);
|
||||
|
||||
|
Reference in New Issue
Block a user