diff options
| author | Richard M. Stallman <rms@gnu.org> | 1996-08-24 21:24:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1996-08-24 21:24:45 +0000 |
| commit | 86e71abf77e94780c886f3bc9632f7b96fb63599 (patch) | |
| tree | f1db30f19b1d607e840860c3bf412e82730c94a5 /src/xmenu.c | |
| parent | 7b8b6c7ad97e193faad229a96a6ab06f7efb5ec2 (diff) | |
| download | emacs-86e71abf77e94780c886f3bc9632f7b96fb63599.tar.gz | |
(xdialog_show): Don't allow 9 buttons.
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 2 |
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"; |
