diff options
Diffstat (limited to 'utils/themeeditor/skin_scan.c')
-rw-r--r-- | utils/themeeditor/skin_scan.c | 1 |
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) |