summaryrefslogtreecommitdiff
path: root/app/wlib/gtklib/gtkmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/gtklib/gtkmenu.c')
-rw-r--r--app/wlib/gtklib/gtkmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/wlib/gtklib/gtkmenu.c b/app/wlib/gtklib/gtkmenu.c
index 0782f02..d3258c4 100644
--- a/app/wlib/gtklib/gtkmenu.c
+++ b/app/wlib/gtklib/gtkmenu.c
@@ -546,7 +546,7 @@ void wMenuListDelete(
GtkWidget * label;
char * labelStrConverted;
- if (ml->count <= 0) abort();
+ if (ml->count < 0) abort();
origin = getMlistOrigin(ml->parentMenu, ml);
children = gtk_container_children( GTK_CONTAINER(ml->parentMenu->menu) );
if (children == NULL) abort();