diff src/xmenu.c @ 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 e66ccb471d26
children 16fb6dcfa4e8
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";