summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2011-06-23 20:22:00 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2011-06-23 20:22:00 +0000
commitd0084ffd7a4a8f14aeb2c702de5794e36ffff6e8 (patch)
treeaba59da5a367fb2b00ae81c1935e2fb53ff68b57 /apps/tagcache.c
parent7ba8871d5b6606824df5c732591e50a3c378eb33 (diff)
downloadrockbox-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/tagcache.c')
-rw-r--r--apps/tagcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index c5a8dcbae5..f2423243b7 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -3350,7 +3350,7 @@ static bool read_tag(char *dest, long size,
3350 return false; 3350 return false;
3351} 3351}
3352 3352
3353static int parse_changelog_line(int line_n, const char *buf, void *parameters) 3353static int parse_changelog_line(int line_n, char *buf, void *parameters)
3354{ 3354{
3355 struct index_entry idx; 3355 struct index_entry idx;
3356 char tag_data[TAG_MAXLEN+32]; 3356 char tag_data[TAG_MAXLEN+32];