diff options
| author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-03-28 14:17:10 +0000 |
|---|---|---|
| committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-03-28 14:17:10 +0000 |
| commit | 538126cb341b48992615bd00c82373abaa13c1af (patch) | |
| tree | f6f0de27c7d5bb7b8bd9643da43d5af21d09b037 /apps | |
| parent | b4a2d6a06a7f0001f9d36864557b11f578aae76b (diff) | |
| download | rockbox-538126cb341b48992615bd00c82373abaa13c1af.zip rockbox-538126cb341b48992615bd00c82373abaa13c1af.tar.gz rockbox-538126cb341b48992615bd00c82373abaa13c1af.tar.bz2 rockbox-538126cb341b48992615bd00c82373abaa13c1af.tar.xz | |
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')
| -rw-r--r-- | apps/cuesheet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c index ea9b4d2..7c320d4 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; } |