[hackers] [wmii] [menu] Save the original input string when traversing history. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Tue, 14 Oct 2008 03:15:46 +0000 (UTC)

changeset: 2358:ace8eca9fcf1
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Oct 13 23:15:45 2008 -0400
files: cmd/menu/main.c
description:
[menu] Save the original input string when traversing history.

diff -r d94404435dbc -r ace8eca9fcf1 cmd/menu/main.c
--- a/cmd/menu/main.c Mon Oct 13 23:10:20 2008 -0400
+++ b/cmd/menu/main.c Mon Oct 13 23:15:45 2008 -0400
@@ -208,7 +208,7 @@
 
 int
 main(int argc, char *argv[]) {
- Item hist = { .string = "", };
+ static Item hist;
         Item *item;
         char *address;
         char *histfile;
Received on Tue Oct 14 2008 - 03:15:46 UTC

This archive was generated by hypermail 2.2.0 : Tue Oct 14 2008 - 03:24:04 UTC