Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed some FIXMEs (Nathan's changes were, in fact, correct).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 16, 2011
1 parent 1a082ef commit 301cb8d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/power/beos/SDL_syspower.c
Expand Up @@ -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? */
Expand Down Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 301cb8d

Please sign in to comment.