s/iPhoneOS/iOS

This commit is contained in:
Ryan C. Gordon 2014-02-17 11:47:54 -05:00
parent 245e125e0f
commit ccce6fb302

View File

@ -88,7 +88,7 @@ SDL_GetPowerInfo_UIKit(SDL_PowerState * state, int *seconds, int *percent)
const float level = [uidev batteryLevel]; const float level = [uidev batteryLevel];
*percent = ( (level < 0.0f) ? -1 : ((int) ((level * 100) + 0.5f)) ); *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 */ #endif /* SDL_POWER_UIKIT */