commit 164a2a033cb081d8f195bff801edfd3915d931e7
parent f342a0ca4d879a2e3061b007467e894c2e8211cb
Author: Kris Maglione <jg@suckless.org>
Date: Mon, 13 Oct 2008 23:15:45 -0400
[menu] Save the original input string when traversing history.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/menu/main.c b/cmd/menu/main.c
@@ -208,7 +208,7 @@ init_screens(void) {
int
main(int argc, char *argv[]) {
- Item hist = { .string = "", };
+ static Item hist;
Item *item;
char *address;
char *histfile;