summaryrefslogtreecommitdiff
path: root/app/wlib/gtklib/gtkmenu.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 20:24:50 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 20:24:50 +0100
commit09795a01ef859f072920de9df974d1b03b9ab9a4 (patch)
tree4d05907fc37f1bd781e506f5e196f7435aeec0ab /app/wlib/gtklib/gtkmenu.c
parent5b4163d8c76b03f0d31b09866aa4bd06b4d8d804 (diff)
New upstream version 4.2.4aupstream/4.2.4a
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();