Explorar o código

s/iPhoneOS/iOS

Ryan C. Gordon %!s(int64=11) %!d(string=hai) anos
pai
achega
ccce6fb302
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/power/uikit/SDL_syspower.m

+ 1 - 1
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 */