1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

try to fix open menus, hope it worx.

This commit is contained in:
id
1999-09-24 08:12:18 +00:00
parent a0d037e6fc
commit 6f28a38d4d
2 changed files with 11 additions and 5 deletions

View File

@@ -623,12 +623,12 @@ separateCommand(char *line, char ***file, char **command)
count = WMGetBagItemCount(bag);
if (count>0) {
int j;
int j;
*file = wmalloc(sizeof(char*)*(count+1));
i = count;
(*file)[count] = NULL;
for (j = 0; j < count; j++) {
(*file)[--i] = WMGetFromBag(bag, j);
for (j = 0; j < count; j++) {
(*file)[j] = WMGetFromBag(bag, j);
}
}
WMFreeBag(bag);