From b969bf25819b44ec72f46e6b49c2fc5dbf61cbcb Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 18 Apr 2016 08:24:28 +0900 Subject: [PATCH] Fix coding rule Change-Id: I3add3119216cc46cc9a11d991a675c56e7cf6a09 --- src/inputmethod.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp index 71ee039..6d21fe2 100644 --- a/src/inputmethod.cpp +++ b/src/inputmethod.cpp @@ -290,8 +290,7 @@ void CCoreEventCallback::on_process_key_event(scim::KeyEvent &key, sclu32 *ret) else *ret = 0; } - } - else { + } else { if (ret) { *ret = 0; } @@ -1100,8 +1099,7 @@ Evas_Object* ime_get_main_window(void) win = static_cast(g_core.get_main_window()); if (win) { set_last_result(IME_ERROR_NONE); - } - else { + } else { set_last_result(IME_ERROR_OPERATION_FAILED); LOGW("IME_ERROR_OPERATION_FAILED"); } @@ -1164,8 +1162,7 @@ int ime_create_option_window(void) if (g_core.create_option_window()) { return IME_ERROR_NONE; - } - else { + } else { LOGW("IME_ERROR_OPERATION_FAILED"); return IME_ERROR_OPERATION_FAILED; } -- 2.7.4