summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-29 09:09:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-29 09:09:45 +0000
commit8cd3f8452c65f2fbf423470e7e87999eaa2ba9fc (patch)
treeeafd562cb21ae073941d87e14fd31dd00c4a05e5
parent602bad427a0f9edbbc665033cc3ce8d1883323c9 (diff)
downloadrockbox-8cd3f8452c65f2fbf423470e7e87999eaa2ba9fc.tar.gz
rockbox-8cd3f8452c65f2fbf423470e7e87999eaa2ba9fc.zip
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
-rw-r--r--utils/skinupdater/skinupdater.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/skinupdater/skinupdater.c b/utils/skinupdater/skinupdater.c
index c354234e27..9329b9a9f0 100644
--- a/utils/skinupdater/skinupdater.c
+++ b/utils/skinupdater/skinupdater.c
@@ -242,7 +242,7 @@ top:
242 } 242 }
243 else if (*in == '#') 243 else if (*in == '#')
244 { 244 {
245 while (*in != '\n') 245 while (*in && *in != '\n')
246 { 246 {
247 PUTCH(out, *in++); 247 PUTCH(out, *in++);
248 } 248 }