summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-07-10 15:55:49 +0200
committerlouis <louis.braun@gmx.de>2015-07-10 15:55:49 +0200
commitb188f1f08abd02e02920573bbf611ebb8673d947 (patch)
treea1a5151e581ad18c151ce7eef4e5f2930808fa87
parent32d96c54390fa871235d4003e32fbf6865a40106 (diff)
downloadvdr-plugin-skindesigner-b188f1f08abd02e02920573bbf611ebb8673d947.tar.gz
vdr-plugin-skindesigner-b188f1f08abd02e02920573bbf611ebb8673d947.tar.bz2
fixed bug that menulists are not read if no currentelement is defined
-rw-r--r--HISTORY5
-rw-r--r--libtemplate/xmlparser.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index e32b0f9..66626f7 100644
--- a/HISTORY
+++ b/HISTORY
@@ -384,3 +384,8 @@ Version 0.5.3
Version 0.6.0
+- fixed bug that menulists are not read if no currentelement
+ is defined
+
+Version 0.6.1
+
diff --git a/libtemplate/xmlparser.c b/libtemplate/xmlparser.c
index 3df65f3..ce41918 100644
--- a/libtemplate/xmlparser.c
+++ b/libtemplate/xmlparser.c
@@ -247,7 +247,7 @@ void cXmlParser::ParseViewList(cTemplateView *subView) {
currentElement->SetGlobals(globals);
currentElement->SetParameters(attribsCur);
if (!LevelDown())
- return;
+ continue;
do {
if (!CheckNodeName("areacontainer") && !CheckNodeName("area") && !CheckNodeName("areascroll")) {
esyslog("skindesigner: invalid tag \"%s\" in viewelement", NodeName());