summaryrefslogtreecommitdiff
path: root/lib/skin_parser/skin_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/skin_parser/skin_parser.c')
-rw-r--r--lib/skin_parser/skin_parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/skin_parser/skin_parser.c b/lib/skin_parser/skin_parser.c
index 5a5d746c8e..80f5f61699 100644
--- a/lib/skin_parser/skin_parser.c
+++ b/lib/skin_parser/skin_parser.c
@@ -144,7 +144,8 @@ static struct skin_element* skin_parse_viewport(const char** document)
144 /* Parsing out the viewport tag if there is one */ 144 /* Parsing out the viewport tag if there is one */
145 if(check_viewport(cursor)) 145 if(check_viewport(cursor))
146 { 146 {
147 skin_parse_tag(retval, &cursor); 147 if (!skin_parse_tag(retval, &cursor))
148 return NULL;
148 if(*cursor == '\n') 149 if(*cursor == '\n')
149 { 150 {
150 cursor++; 151 cursor++;