summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7aba9bc)
raw | patch | inline | side by side (parent: 7aba9bc)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 24 Dec 2011 17:28:04 +0000 (18:28 +0100) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 24 Dec 2011 17:28:04 +0000 (18:28 +0100) |
These macros were only being used in one place.
src/screen_keydef.c | patch | blob | history |
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 0f46eee85fbf5e90572013dc479afedfc8e50713..cd340f8126f5f44f32dae1abb648dbb827e00bfe 100644 (file)
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
#define LIST_ITEM_SAVE() (LIST_ITEM_APPLY()+1)
#define LIST_LENGTH() (LIST_ITEM_SAVE()+1)
-#define LIST_ITEM_SAVE_LABEL _("===> Apply & Save key bindings ")
-#define LIST_ITEM_APPLY_LABEL _("===> Apply key bindings ")
-
static struct list_window *lw;
static unsigned command_list_length = 0;
if (subcmd < 0) {
if (idx == LIST_ITEM_APPLY())
- return LIST_ITEM_APPLY_LABEL;
+ return _("===> Apply key bindings ");
else if (idx == LIST_ITEM_SAVE())
- return LIST_ITEM_SAVE_LABEL;
+ return _("===> Apply & Save key bindings ");
assert(idx < (unsigned)command_list_length);