Allow text to scale to fit
Change-Id: Iacd4bb78f551b51d092ecde09521b5541e7dadcd
diff --git a/gui/pages.cpp b/gui/pages.cpp
index 374a431..9bff289 100644
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -229,7 +229,7 @@
return PageManager::GetResources()->FindAnimation(name);
}
-bool LoadPlacement(xml_node<>* node, int* x, int* y, int* w /* = NULL */, int* h /* = NULL */, RenderObject::Placement* placement /* = NULL */)
+bool LoadPlacement(xml_node<>* node, int* x, int* y, int* w /* = NULL */, int* h /* = NULL */, Placement* placement /* = NULL */)
{
if (!node)
return false;
@@ -247,7 +247,7 @@
*h = LoadAttrIntScaleY(node, "h");
if (placement && node->first_attribute("placement"))
- *placement = (RenderObject::Placement) LoadAttrInt(node, "placement");
+ *placement = (Placement) LoadAttrInt(node, "placement");
return true;
}