Fix coding style 31/117731/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 7 Mar 2017 08:24:05 +0000 (17:24 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 7 Mar 2017 08:24:05 +0000 (17:24 +0900)
Change-Id: I685396be7c02ae8ebff2517c5d777d02ca203241
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise.cpp

index 86caed0..93a3ea5 100644 (file)
@@ -623,8 +623,7 @@ void _guideline_popup_dismissed_cb(void *data, Evas_Object *obj, void *event_inf
     evas_object_del(obj);
     obj = NULL;
 
-    if (_guide_popup_window != NULL)
-    {
+    if (_guide_popup_window != NULL) {
         evas_object_del(_guide_popup_window);
         _guide_popup_window = NULL;
     }
@@ -670,8 +669,7 @@ void ise_show_help_popup(sclulong keyEvent)
     if (g_ui)
         g_ui->get_screen_resolution(&scr_w, &scr_h);
 
-    if (keyEvent == MVK_space)
-    {
+    if (keyEvent == MVK_space) {
         g_ui->get_button_geometry("SPACE_KEY", &rectangle);
     } else {
         g_ui->get_button_geometry("CM_KEY", &rectangle);
@@ -885,7 +883,7 @@ SCLEventReturnType CUIEventCallback::on_event_key_clicked(SclUIEventDesc event_d
                 break;
            }
         case KEY_TYPE_MODECHANGE:
-            if (!g_config_values.first_guideset){
+            if (!g_config_values.first_guideset) {
                ise_show_help_popup(event_desc.key_event);
                break;
            }
@@ -1075,8 +1073,7 @@ bool ise_is_guideline_popup_enable_layout(void)
 
 static Eina_Bool popup_guideline_timer_cb(void *data)
 {
-    if ((!g_config_values.first_guidechange)&&(_language_manager.get_enabled_languages_num() > 1))
-    {
+    if ((!g_config_values.first_guidechange)&&(_language_manager.get_enabled_languages_num() > 1)) {
         ise_show_help_popup(MVK_space);
         g_config_values.first_guidechange = TRUE;
         write_ise_config_values();
@@ -1699,8 +1696,7 @@ void ise_process_key_event(scim::KeyEvent& key, sclu32 &ret)
 
     if (key.get_key_string().compare("XF86Back") == 0) {
         back_key_pressed = EINA_TRUE;
-    }
-    else if (key.get_key_string().compare("KeyRelease+XF86Back") == 0) {
+    } else if (key.get_key_string().compare("KeyRelease+XF86Back") == 0) {
         back_key_released = EINA_TRUE;
     }
 
@@ -2119,8 +2115,7 @@ static void ime_app_process_input_device_event_cb(ime_input_device_type_e device
                     default:
                         ;
                 }
-            }
-            else if (direction == IME_INPUT_DEVICE_ROTARY_DIRECTION_COUNTER_CLOCKWISE) {
+            } else if (direction == IME_INPUT_DEVICE_ROTARY_DIRECTION_COUNTER_CLOCKWISE) {
                 LOGD("COUNTER_CLOCKWISE\n");
                 switch (g_keyboard_state.layout) {
                     case ISE_LAYOUT_STYLE_NORMAL: