changeset 15912:afb0bb1cdbe6

(xdialog_show): Don't allow 9 buttons.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Aug 1996 21:24:45 +0000
parents c9a152ad9c5a
children f415fdc67ad3
files src/xmenu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Sat Aug 24 21:11:14 1996 +0000
+++ b/src/xmenu.c	Sat Aug 24 21:24:45 1996 +0000
@@ -2300,7 +2300,7 @@
 	    i++;
 	    continue;
 	  }
-	if (nb_buttons >= 10)
+	if (nb_buttons >= 9)
 	  {
 	    free_menubar_widget_value_tree (first_wv);
 	    *error = "Too many dialog items";