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/gui/gwps-common.c | |
parent | b216422be73e7e5ad17a3143f49dc9fc061c06b2 (diff) | |
download | rockbox-5745e4106ce0d8e04bec0962af9701793698cb8d.tar.gz 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
Diffstat (limited to 'apps/gui/gwps-common.c')
-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, | |||
1092 | pos++; | 1092 | pos++; |
1093 | 1093 | ||
1094 | /* reposition buf pointer to next WPS element */ | 1094 | /* reposition buf pointer to next WPS element */ |
1095 | while (*pos && *pos != ';' && | 1095 | while (*pos && *pos != ';' && *pos != '\n') |
1096 | *pos != '\r' && *pos != '\n') | ||
1097 | pos++; | 1096 | pos++; |
1098 | 1097 | ||
1099 | buf = pos; | 1098 | buf = pos; |