just return here, eh?

SVN revision: 64889
This commit is contained in:
Mike Blumenkrantz 2011-11-07 22:41:02 +00:00
parent 223013c370
commit bc45b835df
1 changed files with 1 additions and 5 deletions

View File

@ -1220,11 +1220,7 @@ linux_apm_check(void)
fclose(f);
bat_val = strtol(s1, &endptr, 10);
if (*endptr != '%')
{
bat_val = -1;
return;
}
if (*endptr != '%') return;
if (!strcmp(s3, "sec")) time_val = atoi(s2);
else if (!strcmp(s3, "min"))