From c7bc663b556012b50cdb1ab893357ce89de60b90 Mon Sep 17 00:00:00 2001 From: id Date: Fri, 24 Sep 1999 12:20:54 +0000 Subject: [PATCH] clean the fixes. --- ChangeLog | 2 ++ src/rootmenu.c | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 370d9055..99035af2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ Changes since version 0.61.0: ............................. +- fixed OPEN_MENU +- fixed crash when moving a shaded window with keyboard - fixed problem with window shortcut assignment from the menu - fixed problem with fonts in WINGs (Masahide -mac- NODA ) diff --git a/src/rootmenu.c b/src/rootmenu.c index 1bee7bf0..4a4cb69f 100644 --- a/src/rootmenu.c +++ b/src/rootmenu.c @@ -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); -- 2.11.4.GIT