Mercurial > sdl-ios-xcode
diff src/power/SDL_power.c @ 3174:c8b9c6d27476
Fixed some typos and added a couple of includes. All were need to get SDL_power to compile on Linux.
Sam, you might want to check to see that the spellings I picked are the spellings you wanted.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Mon, 08 Jun 2009 19:24:38 +0000 |
parents | 510e3f36c04a |
children | 51750b7a966f |
line wrap: on
line diff
--- a/src/power/SDL_power.c Sun Jun 07 22:44:59 2009 +0000 +++ b/src/power/SDL_power.c Mon Jun 08 19:24:38 2009 +0000 @@ -30,7 +30,7 @@ (*SDL_GetPowerInfo_Impl)(SDL_PowerState *state, int *seconds, int *percent); SDL_bool SDL_GetPowerInfo_Linux_sys_power(SDL_PowerState*, int*, int*); -SDL_bool SDL_GetPowerInfo_Linux_proc_apci(SDL_PowerState*, int*, int*); +SDL_bool SDL_GetPowerInfo_Linux_proc_acpi(SDL_PowerState*, int*, int*); SDL_bool SDL_GetPowerInfo_Linux_proc_apm(SDL_PowerState*, int*, int*); SDL_bool SDL_GetPowerInfo_Windows(SDL_PowerState*, int*, int*); SDL_bool SDL_GetPowerInfo_MacOSX(SDL_PowerState*, int*, int*); @@ -57,7 +57,7 @@ #ifndef SDL_POWER_DISABLED #ifdef SDL_POWER_LINUX /* in order of preference. More than could work. */ SDL_GetPowerInfo_Linux_sys_power, - SDL_GetPowerInfo_Linux_proc_apci, + SDL_GetPowerInfo_Linux_proc_acpi, SDL_GetPowerInfo_Linux_proc_apm, #endif #ifdef SDL_POWER_WINDOWS /* handles Win32, Win64, PocketPC. */