(xdialog_show): Don't allow 9 buttons.
authorRichard M. Stallman <rms@gnu.org>
Sat, 24 Aug 1996 21:24:45 +0000 (21:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 24 Aug 1996 21:24:45 +0000 (21:24 +0000)
src/xmenu.c

index cc8e0fa..c4c6b97 100644 (file)
@@ -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";