diff options
| author | Richard M. Stallman | 1996-08-24 21:24:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-08-24 21:24:45 +0000 |
| commit | 86e71abf77e94780c886f3bc9632f7b96fb63599 (patch) | |
| tree | f1db30f19b1d607e840860c3bf412e82730c94a5 /src | |
| parent | 7b8b6c7ad97e193faad229a96a6ab06f7efb5ec2 (diff) | |
| download | emacs-86e71abf77e94780c886f3bc9632f7b96fb63599.tar.gz emacs-86e71abf77e94780c886f3bc9632f7b96fb63599.zip | |
(xdialog_show): Don't allow 9 buttons.
Diffstat (limited to 'src')
| -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) | |||
| 2300 | i++; | 2300 | i++; |
| 2301 | continue; | 2301 | continue; |
| 2302 | } | 2302 | } |
| 2303 | if (nb_buttons >= 10) | 2303 | if (nb_buttons >= 9) |
| 2304 | { | 2304 | { |
| 2305 | free_menubar_widget_value_tree (first_wv); | 2305 | free_menubar_widget_value_tree (first_wv); |
| 2306 | *error = "Too many dialog items"; | 2306 | *error = "Too many dialog items"; |