forked from enlightenment/terminology
terminology: Don't declare 'action' variable unless we have gettext
and nls Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
10542a205f
commit
4731d8d826
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue