summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skin_scan.c
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-05-25 17:22:39 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-05-25 17:22:39 +0000
commit1937b1b1ae0527f2c80834c0461532f1a3cceeaa (patch)
tree7426ffcef783bfff60e73211cd42849c52ef9470 /utils/themeeditor/skin_scan.c
parent58b4fe10076e053664a598dc252ef107d1da6fa2 (diff)
downloadrockbox-1937b1b1ae0527f2c80834c0461532f1a3cceeaa.tar.gz
rockbox-1937b1b1ae0527f2c80834c0461532f1a3cceeaa.zip
Fixed some bugs in the theme editor, added the tags with parameters to the tag table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26288 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/skin_scan.c')
-rw-r--r--utils/themeeditor/skin_scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/themeeditor/skin_scan.c b/utils/themeeditor/skin_scan.c
index 92ee521176..dfe5d008e5 100644
--- a/utils/themeeditor/skin_scan.c
+++ b/utils/themeeditor/skin_scan.c
@@ -73,6 +73,7 @@ char* scan_string(char** document)
73 /* Copying the string */ 73 /* Copying the string */
74 cursor = *document; 74 cursor = *document;
75 buffer = skin_alloc_string(length); 75 buffer = skin_alloc_string(length);
76 buffer[length] = '\0';
76 for(i = 0; i < length; i++) 77 for(i = 0; i < length; i++)
77 { 78 {
78 if(*cursor == COMMENTSYM) 79 if(*cursor == COMMENTSYM)