Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

  • Loading branch information
icculus committed Sep 16, 2011
1 parent 1a082ef commit 301cb8d89092c1c682b26997cedf6fb8395e2aa7
Showing with 2 additions and 4 deletions.
  1. +2 −4 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);
}
}

0 comments on commit 301cb8d

Please sign in to comment.