1
0
Fork 0
forked from len0rd/rockbox

fix error when a comment is on the last line of the file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26370 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-05-29 09:09:45 +00:00
parent 602bad427a
commit 8cd3f8452c

View file

@ -242,7 +242,7 @@ top:
} }
else if (*in == '#') else if (*in == '#')
{ {
while (*in != '\n') while (*in && *in != '\n')
{ {
PUTCH(out, *in++); PUTCH(out, *in++);
} }