From 86e71abf77e94780c886f3bc9632f7b96fb63599 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 24 Aug 1996 21:24:45 +0000 Subject: [PATCH] (xdialog_show): Don't allow 9 buttons. --- src/xmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.2