summaryrefslogtreecommitdiffstats
path: root/apps/cuesheet.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-03-28 14:17:10 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-03-28 14:17:10 +0000
commit538126cb341b48992615bd00c82373abaa13c1af (patch)
treef6f0de27c7d5bb7b8bd9643da43d5af21d09b037 /apps/cuesheet.c
parentb4a2d6a06a7f0001f9d36864557b11f578aae76b (diff)
downloadrockbox-538126cb341b48992615bd00c82373abaa13c1af.tar.gz
rockbox-538126cb341b48992615bd00c82373abaa13c1af.tar.bz2
rockbox-538126cb341b48992615bd00c82373abaa13c1af.zip
Use isspace() instead of a naive comparison.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12948 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/cuesheet.c')
-rw-r--r--apps/cuesheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index ea9b4d2a7e..7c320d4b7c 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -89,7 +89,7 @@ bool look_for_cuesheet_file(const char *trackpath)
static char *skip_whitespace(char* buf)
{
char *r = buf;
- while (*r && (*r < 33))
+ while (*r && isspace(*r))
r++;
return r;
}