mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Moves CSize into a separate file and renames it to CSize2D according to other geometric entities.
This was SVN commit r25143.
This commit is contained in:
+2
-2
@@ -1228,8 +1228,8 @@ void CGUI::Xeromyces_ReadIcon(XMBElement Element, CXeromyces* pFile)
|
||||
icon.m_SpriteName = attr_value;
|
||||
else if (attr_name == "size")
|
||||
{
|
||||
CSize size;
|
||||
if (!ParseString<CSize>(this, attr_value.FromUTF8(), size))
|
||||
CSize2D size;
|
||||
if (!ParseString<CSize2D>(this, attr_value.FromUTF8(), size))
|
||||
LOGERROR("Error parsing '%s' (\"%s\") inside <icon>.", attr_name, attr_value);
|
||||
else
|
||||
icon.m_Size = size;
|
||||
|
||||
Reference in New Issue
Block a user