aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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)
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";