1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-02 14:15:46 +01:00

Fixed return of WMGetUDStringForKey to be only a reference, not an allocated

string.
This commit is contained in:
dan
1999-05-26 01:55:54 +00:00
parent df7998e9e1
commit 6e97e4cae5
3 changed files with 6 additions and 1 deletions

View File

@@ -369,7 +369,7 @@ WMGetUDStringForKey(WMUserDefaults *database, char *defaultName)
if (!PLIsString(val))
return NULL;
return wstrdup(PLGetString(val));
return PLGetString(val);
}