projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7afb5bb
)
[gui] fix incorrect parsing of relative <width> and <height> tags
author
Jonathan Marshall
<jmarshall@xbmc.org>
Mon, 28 Apr 2014 08:25:25 +0000
(20:25 +1200)
committer
Jonathan Marshall
<jmarshall@xbmc.org>
Thu, 1 May 2014 20:12:59 +0000
(08:12 +1200)
xbmc/guilib/GUIControlFactory.cpp
patch
|
blob
|
history
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;
}