Fixed build break in TV profile 12/77112/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 28 Jun 2016 13:30:01 +0000 (22:30 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 28 Jun 2016 13:30:01 +0000 (22:30 +0900)
Change-Id: I3c5e2c1241995e73e16c6b375fb217d4a0420a94

src/e_mod_main.c

index b4d0289..192a64b 100644 (file)
@@ -234,13 +234,12 @@ _e_text_input_method_context_key_send(E_Input_Method_Context *context, unsigned
 static Eina_Bool
 _e_text_input_method_context_filter_hotkeys(E_Input_Method_Context *context, Ecore_Event_Key *ev)
 {
-   const char *keyname_space = "space";
-
    if (!ev) return EINA_FALSE;
    if (!context) return EINA_FALSE;
 
    /* We do not want to change the current keymap related behavior in TV profile for now */
 #ifndef _TV
+   const char *keyname_space = "space";
    if ((strncmp(ev->keyname, keyname_space, strlen(keyname_space)) == 0) && (ev->modifiers & ECORE_EVENT_MODIFIER_SHIFT))
      {
         int keymap_index;