mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-11 03:52:30 +02:00
More WPrefs updates (should I commit changes this often?)
This commit is contained in:
1 parent
5298849122
commit
4eda694989
2 files changed
+64
-48
No files matched your search
+7
-1
@@ -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