devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=4731d8d82670ddf98e4b4131f764a6882d6ff519

commit 4731d8d82670ddf98e4b4131f764a6882d6ff519
Author: Chris Michael <[email protected]>
Date:   Thu Sep 11 08:23:12 2014 -0400

    terminology: Don't declare 'action' variable unless we have gettext
    and nls
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/keyin.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)
 
 int key_bindings_load(Config *config)
 {
-   Shortcut_Action *action = _actions;
    Config_Keys *key;
    Eina_List *l;
 
    if (!_key_bindings)
      {
 #if HAVE_GETTEXT && ENABLE_NLS
+        Shortcut_Action *action = _actions;
+
         while (action->action)
           {
              action->description = gettext(action->description);

-- 


Reply via email to