1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-29 09:52:29 +01:00

fixed bug in builtin xpm loader

fixed crash bug in menu editor
This commit is contained in:
kojima
2001-01-06 22:38:07 +00:00
parent bb7314ddac
commit e314838447
8 changed files with 60 additions and 13 deletions

View File

@@ -1439,7 +1439,7 @@ buildSubmenu(_Panel *panel, proplist_t pl)
char *title;
proplist_t tp, bp;
int i;
tp = PLGetArrayElement(pl, 0);
title = PLGetString(tp);
@@ -1455,7 +1455,7 @@ buildSubmenu(_Panel *panel, proplist_t pl)
title = PLGetString(tp);
if (PLIsArray(bp)) { /* it's a submenu */
if (!bp || PLIsArray(bp)) { /* it's a submenu */
WEditMenu *submenu;
submenu = buildSubmenu(panel, pi);