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

Small bug fixes over 0.20.2 -Dan

This commit is contained in:
dan
1998-10-23 17:07:08 +00:00
parent 9af1c6c415
commit abde3e0c4e
13 changed files with 111 additions and 78 deletions

View File

@@ -1268,7 +1268,7 @@ showData(_Panel *panel)
{
char *gspath;
char *menuPath;
proplist_t menu, pmenu;
proplist_t menu, pmenu, plPath;
char buffer[512];
int hasWSMenu=0;
@@ -1302,8 +1302,10 @@ showData(_Panel *panel)
} else {
pmenu = preProcessMenu(menu, &hasWSMenu);
}
PLSetFilename(pmenu, menuPath);
plPath = PLMakeString(menuPath);
free(menuPath);
PLSetFilename(pmenu, plPath);
PLRelease(plPath);
if (menu)
PLRelease(menu);