Oops, fix yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19944 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2009-02-08 11:28:54 +00:00
parent 5a55772201
commit 040bb7a8f5

View file

@ -224,7 +224,10 @@ static long fp_atof(const char* s, int precision)
long sign = 1;
bool point = false;
s = skip_whitespace(s);
while ((*s != '\0') && isspace(*s))
{
s++;
}
if (*s == '-')
{