]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 cc8e0faa35eb267ccabdfad5a4556e0d5fd42ad1..c4c6b97abe736cac7c964c6964659661285b251e 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";