From: Jihoon Kim Date: Mon, 8 May 2017 02:43:57 +0000 (+0900) Subject: Fix indentation X-Git-Tag: accepted/tizen/unified/20170518.184014~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfdc976692bd07a731a17166d42b12fe86a32772;hp=f7b74cc1d99f7058628ec5b4b02ce6ff67d4a76d;p=platform%2Fcore%2Fuifw%2Finputdelegator.git Fix indentation Change-Id: Iac1b055e39d105cf001a44af595108d2b201d0aa Signed-off-by: Jihoon Kim --- diff --git a/src/w-input-selector.cpp b/src/w-input-selector.cpp index 92bf854..9536088 100755 --- a/src/w-input-selector.cpp +++ b/src/w-input-selector.cpp @@ -50,38 +50,37 @@ Evas_Coord last_step; // 0 ~ 9 for gesture, 10~11 for rotary tizen_profile_t _get_tizen_profile() { - static tizen_profile_t profile = TIZEN_PROFILE_UNKNOWN; - if (__builtin_expect(profile != TIZEN_PROFILE_UNKNOWN, 1)) - return profile; - - char *profileName; - system_info_get_platform_string("http://tizen.org/feature/profile", &profileName); - switch (*profileName) - { - case 'm': - case 'M': - profile = TIZEN_PROFILE_MOBILE; - break; - case 'w': - case 'W': - profile = TIZEN_PROFILE_WEARABLE; - break; - case 't': - case 'T': - profile = TIZEN_PROFILE_TV; - break; - case 'i': - case 'I': - profile = TIZEN_PROFILE_IVI; - break; - default: // common or unknown ==> ALL ARE COMMON. - profile = TIZEN_PROFILE_COMMON; - } - free(profileName); - - return profile; -} + static tizen_profile_t profile = TIZEN_PROFILE_UNKNOWN; + if (__builtin_expect(profile != TIZEN_PROFILE_UNKNOWN, 1)) + return profile; + + char *profileName; + system_info_get_platform_string("http://tizen.org/feature/profile", &profileName); + switch (*profileName) + { + case 'm': + case 'M': + profile = TIZEN_PROFILE_MOBILE; + break; + case 'w': + case 'W': + profile = TIZEN_PROFILE_WEARABLE; + break; + case 't': + case 'T': + profile = TIZEN_PROFILE_TV; + break; + case 'i': + case 'I': + profile = TIZEN_PROFILE_IVI; + break; + default: // common or unknown ==> ALL ARE COMMON. + profile = TIZEN_PROFILE_COMMON; + } + free(profileName); + return profile; +} void _init_app_data(App_Data* app_data); static void _app_language_changed(app_event_info_h event_info, void *user_data);