summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-11-19 20:35:40 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-11-19 20:35:40 +0000
commit5745e4106ce0d8e04bec0962af9701793698cb8d (patch)
tree89d23415636c363826446ad8724419492f3416d8
parentb216422be73e7e5ad17a3143f49dc9fc061c06b2 (diff)
downloadrockbox-5745e4106ce0d8e04bec0962af9701793698cb8d.tar.gz
rockbox-5745e4106ce0d8e04bec0962af9701793698cb8d.tar.bz2
rockbox-5745e4106ce0d8e04bec0962af9701793698cb8d.zip
Fixed bad CR/LF handling in the WPS parser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8001 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/gwps-common.c3
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;