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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user