mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 13:28:05 +01:00
clean the fixes.
This commit is contained in:
@@ -623,12 +623,10 @@ separateCommand(char *line, char ***file, char **command)
|
||||
|
||||
count = WMGetBagItemCount(bag);
|
||||
if (count>0) {
|
||||
int j;
|
||||
*file = wmalloc(sizeof(char*)*(count+1));
|
||||
i = count;
|
||||
(*file)[count] = NULL;
|
||||
for (j = 0; j < count; j++) {
|
||||
(*file)[j] = WMGetFromBag(bag, j);
|
||||
for (i = 0; i < count; i++) {
|
||||
(*file)[i] = WMGetFromBag(bag, i);
|
||||
}
|
||||
}
|
||||
WMFreeBag(bag);
|
||||
|
||||
Reference in New Issue
Block a user