diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2011-06-23 20:22:00 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2011-06-23 20:22:00 +0000 |
commit | d0084ffd7a4a8f14aeb2c702de5794e36ffff6e8 (patch) | |
tree | aba59da5a367fb2b00ae81c1935e2fb53ff68b57 /apps/misc.c | |
parent | 7ba8871d5b6606824df5c732591e50a3c378eb33 (diff) | |
download | rockbox-d0084ffd7a4a8f14aeb2c702de5794e36ffff6e8.tar.gz rockbox-d0084ffd7a4a8f14aeb2c702de5794e36ffff6e8.zip |
Fixed a regression caused in r30021: tagnavi_custom.config parsing
fails if lines ended with <CR><LF> sequence.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30058 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c index 68775b36f5..1f945c5431 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -170,7 +170,7 @@ bool warn_on_pl_erase(void) | |||
170 | 170 | ||
171 | /* Performance optimized version of the read_line() (see below) function. */ | 171 | /* Performance optimized version of the read_line() (see below) function. */ |
172 | int fast_readline(int fd, char *buf, int buf_size, void *parameters, | 172 | int fast_readline(int fd, char *buf, int buf_size, void *parameters, |
173 | int (*callback)(int n, const char *buf, void *parameters)) | 173 | int (*callback)(int n, char *buf, void *parameters)) |
174 | { | 174 | { |
175 | char *p, *next; | 175 | char *p, *next; |
176 | int rc, pos = 0; | 176 | int rc, pos = 0; |