Commit ccce6fb302eda86a5bd47fa62ff7f36016dc317c

Ryan C. Gordon 2014-02-17T11:47:54

s/iPhoneOS/iOS

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/power/uikit/SDL_syspower.m b/src/power/uikit/SDL_syspower.m
index 393130c..60c4274 100644
--- a/src/power/uikit/SDL_syspower.m
+++ b/src/power/uikit/SDL_syspower.m
@@ -88,7 +88,7 @@ SDL_GetPowerInfo_UIKit(SDL_PowerState * state, int *seconds, int *percent)
 
     const float level = [uidev batteryLevel];
     *percent = ( (level < 0.0f) ? -1 : ((int) ((level * 100) + 0.5f)) );
-    return SDL_TRUE;            /* always the definitive answer on iPhoneOS. */
+    return SDL_TRUE;            /* always the definitive answer on iOS. */
 }
 
 #endif /* SDL_POWER_UIKIT */