diff options
author | 2013-03-04 18:58:30 +0100 | |
---|---|---|
committer | 2013-03-04 18:58:30 +0100 | |
commit | 489db58cb8a16b89650624a3a70b43eb008b8a4c (patch) | |
tree | 5cfcbd75fbb046443788f2e4a205459159472971 /ufed-curses-help.c | |
parent | Removed one superfluous drawn line from the top, so the bottom can have one e... (diff) | |
download | ufed-489db58cb8a16b89650624a3a70b43eb008b8a4c.tar.gz ufed-489db58cb8a16b89650624a3a70b43eb008b8a4c.tar.bz2 ufed-489db58cb8a16b89650624a3a70b43eb008b8a4c.zip |
Added a new member "row" to the sKey struct to add information about in which row a key is to be displayed.
Diffstat (limited to 'ufed-curses-help.c')
-rw-r--r-- | ufed-curses-help.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ufed-curses-help.c b/ufed-curses-help.c index 572ccec..7a9115d 100644 --- a/ufed-curses-help.c +++ b/ufed-curses-help.c @@ -283,12 +283,12 @@ static void free_lines(void) } } -static const sKey keys[] = { #define key(x) x, sizeof(x)-1 - { '\033', key("Back (Esc)") }, - { '\0', key("") } -#undef key +static const sKey keys[] = { + { '\033', key("Back (Esc)"), 0 }, + { '\0', key(""), 0 } }; +#undef key static int drawline(sFlag* line, bool highlight) { |