mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02:00
minor dumb bug..
This commit is contained in:
1 parent
2c8a70b743
commit
57869b667b
1 file changed
+4
-1
+4
-1
@@ -636,6 +636,7 @@ wIconChooserDialog(WScreen *scr, char **file, char *instance, char *class)
|
||||
IconPanel *panel;
|
||||
WMColor *color;
|
||||
WMFont *boldFont;
|
||||
Bool result;
|
||||
|
||||
panel = wmalloc(sizeof(IconPanel));
|
||||
memset(panel, 0, sizeof(IconPanel));
|
||||
@@ -811,11 +812,13 @@ wIconChooserDialog(WScreen *scr, char **file, char *instance, char *class)
|
||||
|
||||
wUnmanageWindow(wwin, False, False);
|
||||
|
||||
result= panel->result;
|
||||
|
||||
wfree(panel);
|
||||
|
||||
XDestroyWindow(dpy, parent);
|
||||
|
||||
return panel->result;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user