summaryrefslogtreecommitdiff
path: root/src/bin/keyin.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-09-11 08:23:12 -0400
committerChris Michael <cp.michael@samsung.com>2014-09-11 08:23:12 -0400
commit4731d8d82670ddf98e4b4131f764a6882d6ff519 (patch)
treeacf13e4f1b1cbf1613b1991218a27177b331254b /src/bin/keyin.c
parent10542a205f7395902264e3a86766b499ba2a7f24 (diff)
terminology: Don't declare 'action' variable unless we have gettext
and nls Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/bin/keyin.c')
-rw-r--r--src/bin/keyin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index a8cb5e7..4fe4ffc 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -1058,13 +1058,14 @@ keyin_remove_config(Config_Keys *key)
1058 1058
1059int key_bindings_load(Config *config) 1059int key_bindings_load(Config *config)
1060{ 1060{
1061 Shortcut_Action *action = _actions;
1062 Config_Keys *key; 1061 Config_Keys *key;
1063 Eina_List *l; 1062 Eina_List *l;
1064 1063
1065 if (!_key_bindings) 1064 if (!_key_bindings)
1066 { 1065 {
1067#if HAVE_GETTEXT && ENABLE_NLS 1066#if HAVE_GETTEXT && ENABLE_NLS
1067 Shortcut_Action *action = _actions;
1068
1068 while (action->action) 1069 while (action->action)
1069 { 1070 {
1070 action->description = gettext(action->description); 1071 action->description = gettext(action->description);