From 040bb7a8f5b08b62dc4fef8c4736a43e9e088fef Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 8 Feb 2009 11:28:54 +0000 Subject: Oops, fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19944 a1c6a512-1295-4272-9138-f99709370657 --- apps/replaygain.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 == '-') { -- cgit v1.2.3