diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-19 20:35:40 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-19 20:35:40 +0000 |
commit | 5745e4106ce0d8e04bec0962af9701793698cb8d (patch) | |
tree | 89d23415636c363826446ad8724419492f3416d8 /apps | |
parent | b216422be73e7e5ad17a3143f49dc9fc061c06b2 (diff) |
Fixed bad CR/LF handling in the WPS parser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/gwps-common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 74a1396e32..92d7ded740 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -1092,8 +1092,7 @@ void gui_wps_format(struct wps_data *data, const char *bmpdir, pos++; /* reposition buf pointer to next WPS element */ - while (*pos && *pos != ';' && - *pos != '\r' && *pos != '\n') + while (*pos && *pos != ';' && *pos != '\n') pos++; buf = pos; |