summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-24 21:24:45 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-24 21:24:45 +0000
commit86e71abf77e94780c886f3bc9632f7b96fb63599 (patch)
treef1db30f19b1d607e840860c3bf412e82730c94a5 /src
parent7b8b6c7ad97e193faad229a96a6ab06f7efb5ec2 (diff)
downloademacs-86e71abf77e94780c886f3bc9632f7b96fb63599.tar.gz
(xdialog_show): Don't allow 9 buttons.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
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";