summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skin_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/skin_scan.c')
-rw-r--r--utils/themeeditor/skin_scan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/skin_scan.c b/utils/themeeditor/skin_scan.c
index 37c948fb3c..28d097125a 100644
--- a/utils/themeeditor/skin_scan.c
+++ b/utils/themeeditor/skin_scan.c
@@ -61,6 +61,9 @@ char* scan_string(char** document)
61 continue; 61 continue;
62 } 62 }
63 63
64 if(*cursor == TAGSYM)
65 cursor++;
66
64 if(*cursor == '\n') 67 if(*cursor == '\n')
65 { 68 {
66 skin_error(UNEXPECTED_NEWLINE); 69 skin_error(UNEXPECTED_NEWLINE);
@@ -77,6 +80,9 @@ char* scan_string(char** document)
77 buffer[length] = '\0'; 80 buffer[length] = '\0';
78 for(i = 0; i < length; i++) 81 for(i = 0; i < length; i++)
79 { 82 {
83 if(*cursor == TAGSYM)
84 cursor++;
85
80 if(*cursor == COMMENTSYM) 86 if(*cursor == COMMENTSYM)
81 { 87 {
82 skip_comment(&cursor); 88 skip_comment(&cursor);