diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:25:00 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:25:00 +0100 |
commit | db0fcf9142f9ee7035370f832036c873d4c87168 (patch) | |
tree | a4062cdf2158362a0a431eb1806719e9f0975cb1 /app/wlib/gtklib/gtkmenu.c | |
parent | ee016bcb70b5c380e03b5fd2c12b1baa504c3cc8 (diff) | |
parent | 09795a01ef859f072920de9df974d1b03b9ab9a4 (diff) |
Merge tag 'upstream/4.2.4a'
Upstream version 4.2.4a
Diffstat (limited to 'app/wlib/gtklib/gtkmenu.c')
-rw-r--r-- | app/wlib/gtklib/gtkmenu.c | 2 |
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(); |