1
0
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:
kojima
1999-03-16 12:17:14 +00:00
parent 5298849122
commit 4eda694989
2 changed files with 64 additions and 48 deletions

View File

@@ -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);