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:
parent
602bad427a
commit
8cd3f8452c
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ top:
|
|||
}
|
||||
else if (*in == '#')
|
||||
{
|
||||
while (*in != '\n')
|
||||
while (*in && *in != '\n')
|
||||
{
|
||||
PUTCH(out, *in++);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue