From 5745e4106ce0d8e04bec0962af9701793698cb8d Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sat, 19 Nov 2005 20:35:40 +0000 Subject: Fixed bad CR/LF handling in the WPS parser git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8001 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/gui/gwps-common.c') 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; -- cgit v1.2.3