projects
/
vuplus_xbmc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[gui] fix incorrect parsing of relative <width> and <height> tags
[vuplus_xbmc]
/
xbmc
/
guilib
/
GUIControlFactory.cpp
diff --git
a/xbmc/guilib/GUIControlFactory.cpp
b/xbmc/guilib/GUIControlFactory.cpp
index
dd81c83
..
d23a276
100644
(file)
--- 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;
}