diff --git a/HISTORY b/HISTORY index 2343591..0363c46 100644 --- a/HISTORY +++ b/HISTORY @@ -426,3 +426,5 @@ Version 0.7.0 - fixed compiling fur unpatched VDR Version 0.7.1 + +- fixed bug that setup int parameters do not respect the max value diff --git a/libcore/skinsetup.c b/libcore/skinsetup.c index c9ae7bd..1630cc9 100644 --- a/libcore/skinsetup.c +++ b/libcore/skinsetup.c @@ -37,7 +37,7 @@ void cSkinSetupParameter::Debug(void) { dsyslog("skindesigner: min %d, max %d", min, max); if (type == sptString && options) { for (int i=0; i < numOptions; i++) { - dsyslog("skindesigner: option %d: %s, translated: %s", i+1, options[i], optionsTranslated[i]); + dsyslog("skindesigner: option %d: %s", i+1, options[i]); } } } diff --git a/libtemplate/xmlparser.c b/libtemplate/xmlparser.c index ba5684e..17fa2c6 100644 --- a/libtemplate/xmlparser.c +++ b/libtemplate/xmlparser.c @@ -600,6 +600,7 @@ void cXmlParser::ParseSetupParameter(void) { GetAttribute(attributeName, paramName); GetAttribute(attributeDisplayText, paramDisplayText); GetAttribute(attributeMin, paramMin); + GetAttribute(attributeMax, paramMax); GetAttribute(attributeOptions, paramOptions); GetNodeValue(paramValue); diff --git a/views/view.c b/views/view.c index c2cfea9..fe20054 100644 --- a/views/view.c +++ b/views/view.c @@ -788,7 +788,6 @@ void cView::DoDrawTextBox(int num, cTemplateFunction *func, int x0, int y0) { DrawText(num, pos, "...", clr, clrBack, fontName, fontSize); break; } - esyslog("skindesigner: drawing regular line yLine %d", yLine); DrawText(num, pos, wrapper.GetLine(line), clr, clrBack, fontName, fontSize); yLine += fontHeight; }