diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-02 07:04:33 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-02 07:04:33 +0000 |
commit | 7f10b0336e9aacd4fb21269da652671ff610aa05 (patch) | |
tree | e56fa23e13ac53d312882a29fe59a3896c5f2e6b /utils/themeeditor/skin_parser.c | |
parent | ea864be7082cbe2d1a9d4f5b1e809feacb1d1aaf (diff) | |
download | rockbox-7f10b0336e9aacd4fb21269da652671ff610aa05.tar.gz rockbox-7f10b0336e9aacd4fb21269da652671ff610aa05.zip |
Theme Editor: Fixed some more code generation bugs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26466 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/skin_parser.c')
-rw-r--r-- | utils/themeeditor/skin_parser.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/utils/themeeditor/skin_parser.c b/utils/themeeditor/skin_parser.c index deb3a21ab2..94d059bfcc 100644 --- a/utils/themeeditor/skin_parser.c +++ b/utils/themeeditor/skin_parser.c | |||
@@ -114,6 +114,11 @@ struct skin_element* skin_parse_viewport(char** document) | |||
114 | retval->children = skin_alloc_children(2); | 114 | retval->children = skin_alloc_children(2); |
115 | retval->children[0] = skin_alloc_element(); | 115 | retval->children[0] = skin_alloc_element(); |
116 | skin_parse_tag(retval->children[0], &cursor); | 116 | skin_parse_tag(retval->children[0], &cursor); |
117 | if(*cursor == '\n') | ||
118 | { | ||
119 | cursor++; | ||
120 | skin_line++; | ||
121 | } | ||
117 | } | 122 | } |
118 | else | 123 | else |
119 | { | 124 | { |
@@ -185,8 +190,10 @@ struct skin_element* skin_parse_viewport(char** document) | |||
185 | last = last->next; | 190 | last = last->next; |
186 | 191 | ||
187 | if(*cursor == '\n') | 192 | if(*cursor == '\n') |
193 | { | ||
188 | cursor++; | 194 | cursor++; |
189 | 195 | skin_line++; | |
196 | } | ||
190 | } | 197 | } |
191 | 198 | ||
192 | *document = cursor; | 199 | *document = cursor; |