mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 09:22:27 +01:00
Fixed return of WMGetUDStringForKey to be only a reference, not an allocated
string.
This commit is contained in:
@@ -35,6 +35,8 @@ Changes since version 0.53.0:
|
|||||||
- fixed a mem leak in superfluous mode caused by the ghost icon.
|
- fixed a mem leak in superfluous mode caused by the ghost icon.
|
||||||
- added possibility to set omnipresent icons in Clip. See NEWS.
|
- added possibility to set omnipresent icons in Clip. See NEWS.
|
||||||
- replace xde support drop on dock with xdnd.
|
- replace xde support drop on dock with xdnd.
|
||||||
|
- more elegant text entries in Clip's menu, regarding single/multiple
|
||||||
|
selected icons.
|
||||||
|
|
||||||
|
|
||||||
Changes since version 0.52.0:
|
Changes since version 0.52.0:
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ changes since wmaker 0.53.0:
|
|||||||
|
|
||||||
- added WMTabView
|
- added WMTabView
|
||||||
- added WMGetColorPanelColor(WMColorPanel *panel)
|
- added WMGetColorPanelColor(WMColorPanel *panel)
|
||||||
|
- made WMGetUDStringForKey() to only return a reference to the string, not a
|
||||||
|
wstrdup()'ed copy. DO NOT FREE IT ANYMORE!
|
||||||
|
|
||||||
|
|
||||||
changes since wmaker 0.52.0:
|
changes since wmaker 0.52.0:
|
||||||
............................
|
............................
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ WMGetUDStringForKey(WMUserDefaults *database, char *defaultName)
|
|||||||
if (!PLIsString(val))
|
if (!PLIsString(val))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
return wstrdup(PLGetString(val));
|
return PLGetString(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user