summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-02-08 11:28:54 +0000
committerNils Wallménius <nils@rockbox.org>2009-02-08 11:28:54 +0000
commit040bb7a8f5b08b62dc4fef8c4736a43e9e088fef (patch)
treeadaf1344f7c3c1fc1b5c98916ee3a90b3ba4178e
parent5a55772201829dc0055cc8d3022cc475ccbc2643 (diff)
Oops, fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19944 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/replaygain.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/replaygain.c b/apps/replaygain.c
index 93bf384539..8f6fe4c738 100644
--- a/apps/replaygain.c
+++ b/apps/replaygain.c
@@ -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 == '-')
{