From 1937b1b1ae0527f2c80834c0461532f1a3cceeaa Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Tue, 25 May 2010 17:22:39 +0000 Subject: 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 --- utils/themeeditor/skin_scan.c | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/themeeditor/skin_scan.c') 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) /* Copying the string */ cursor = *document; buffer = skin_alloc_string(length); + buffer[length] = '\0'; for(i = 0; i < length; i++) { if(*cursor == COMMENTSYM) -- cgit v1.2.3