From f835db366d886133a47a6772fe55252278394fec Mon Sep 17 00:00:00 2001 From: Jonathan Marshall Date: Mon, 28 Apr 2014 20:25:25 +1200 Subject: [PATCH] [gui] fix incorrect parsing of relative and tags --- xbmc/guilib/GUIControlFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/guilib/GUIControlFactory.cpp b/xbmc/guilib/GUIControlFactory.cpp index dd81c838e033b..d23a276fdb758 100644 --- a/xbmc/guilib/GUIControlFactory.cpp +++ b/xbmc/guilib/GUIControlFactory.cpp @@ -212,7 +212,7 @@ bool CGUIControlFactory::GetDimension(const TiXmlNode *pRootNode, const char* st if (!min) min = 1; return true; } - value = (float)atof(pNode->FirstChild()->Value()); + value = ParsePosition(pNode->FirstChild()->Value(), parentSize); return true; }