From: Ji-hoon Lee Date: Tue, 28 Jun 2016 13:30:01 +0000 (+0900) Subject: Fixed build break in TV profile X-Git-Tag: accepted/tizen/common/20160629.222658~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=beeb21164d6f9f75f9af209f24fd50665892b252;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wl-textinput.git Fixed build break in TV profile Change-Id: I3c5e2c1241995e73e16c6b375fb217d4a0420a94 --- diff --git a/src/e_mod_main.c b/src/e_mod_main.c index b4d0289..192a64b 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -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;