diff options
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, | |||
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; |