From: Richard M. Stallman Date: Sat, 24 Aug 1996 21:24:45 +0000 (+0000) Subject: (xdialog_show): Don't allow 9 buttons. X-Git-Tag: emacs-20.1~4032 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86e71abf77e94780c886f3bc9632f7b96fb63599;p=emacs.git (xdialog_show): Don't allow 9 buttons. --- diff --git a/src/xmenu.c b/src/xmenu.c index cc8e0faa35e..c4c6b97abe7 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -2300,7 +2300,7 @@ xdialog_show (f, keymaps, title, error) i++; continue; } - if (nb_buttons >= 10) + if (nb_buttons >= 9) { free_menubar_widget_value_tree (first_wv); *error = "Too many dialog items";