summaryrefslogtreecommitdiff
path: root/src/power/beos/SDL_syspower.c
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2011-09-15 23:55:36 -0400
committerRyan C. Gordon <icculus@icculus.org>2011-09-15 23:55:36 -0400
commitadb34682021cfbc2338d80dd995e6cbd3f4e81d0 (patch)
treea2547817f97c423a007bba3ee71f730b05d35a1e /src/power/beos/SDL_syspower.c
parent02f1825c199cea991cdb15c2b382c60252930a66 (diff)
Removed some FIXMEs (Nathan's changes were, in fact, correct).
Diffstat (limited to 'src/power/beos/SDL_syspower.c')
-rw-r--r--src/power/beos/SDL_syspower.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/power/beos/SDL_syspower.c b/src/power/beos/SDL_syspower.c
index 136a01df..454d48fa 100644
--- a/src/power/beos/SDL_syspower.c
+++ b/src/power/beos/SDL_syspower.c
@@ -50,7 +50,7 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent)
uint8 battery_flags;
uint8 battery_life;
uint32 battery_time;
- int rc; /* FIXME: This was undefined before; not sure what type it is */
+ int rc;
if (fd == -1) {
return SDL_FALSE; /* maybe some other method will work? */
@@ -78,9 +78,7 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent)
if (battery_status == 0xFF) {
battery_flags = 0xFF;
} else {
- battery_flags = (1 << battery_status); /* FIXME: Used to be
- status.battery_status,
- not sure why */
+ battery_flags = (1 << battery_status);
}
}