Skip to content

Commit

Permalink
[gui] fix incorrect parsing of relative <width> and <height> tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed May 1, 2014
1 parent 7afb5bb commit f835db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/guilib/GUIControlFactory.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit f835db3

Please sign in to comment.