Fix indentation 49/128149/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 8 May 2017 02:43:57 +0000 (11:43 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 8 May 2017 02:44:00 +0000 (11:44 +0900)
Change-Id: Iac1b055e39d105cf001a44af595108d2b201d0aa
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/w-input-selector.cpp

index 92bf854..9536088 100755 (executable)
@@ -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);