Commit a90884b4 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Removed some FIXMEs (Nathan's changes were, in fact, correct).

parent 99f00f09
...@@ -50,7 +50,7 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent) ...@@ -50,7 +50,7 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent)
uint8 battery_flags; uint8 battery_flags;
uint8 battery_life; uint8 battery_life;
uint32 battery_time; uint32 battery_time;
int rc; /* FIXME: This was undefined before; not sure what type it is */ int rc;
if (fd == -1) { if (fd == -1) {
return SDL_FALSE; /* maybe some other method will work? */ return SDL_FALSE; /* maybe some other method will work? */
...@@ -78,9 +78,7 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent) ...@@ -78,9 +78,7 @@ SDL_GetPowerInfo_BeOS(SDL_PowerState * state, int *seconds, int *percent)
if (battery_status == 0xFF) { if (battery_status == 0xFF) {
battery_flags = 0xFF; battery_flags = 0xFF;
} else { } else {
battery_flags = (1 << battery_status); /* FIXME: Used to be battery_flags = (1 << battery_status);
status.battery_status,
not sure why */
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment