mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 04:15:50 +01:00
More WPrefs updates (should I commit changes this often?)
This commit is contained in:
@@ -313,7 +313,13 @@ wfindfileinarray(proplist_t array, char *file)
|
||||
|
||||
flen = strlen(file);
|
||||
for (i=0; PLGetNumberOfElements(array); i++) {
|
||||
char *p = PLGetString(PLGetArrayElement(array, i));
|
||||
proplist_t prop;
|
||||
char *p;
|
||||
|
||||
prop = PLGetArrayElement(array, i);
|
||||
if (!prop)
|
||||
continue;
|
||||
p = PLGetString(prop);
|
||||
|
||||
len = strlen(p);
|
||||
path = wmalloc(len+flen+2);
|
||||
|
||||
Reference in New Issue
Block a user