summaryrefslogtreecommitdiffstats
path: root/src/ui/check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/check.cpp')
-rw-r--r--src/ui/check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/check.cpp b/src/ui/check.cpp
index a64fb5f..3b0fbc3 100644
--- a/src/ui/check.cpp
+++ b/src/ui/check.cpp
@@ -160,7 +160,7 @@ void CCheck::Draw()
pos.x = m_pos.x + m_dim.y / 0.9f;
pos.y = m_pos.y + m_dim.y * 0.50f;
pos.y -= m_engine->GetText()->GetHeight(m_fontType, m_fontSize)/2.0f;
- m_engine->GetText()->DrawText(m_name, m_fontType, m_fontSize, pos, m_dim.x, m_textAlign, 0);
+ m_engine->GetText()->DrawText(m_name, m_fontType, m_fontSize, pos, m_dim.x, Gfx::TEXT_ALIGN_LEFT, 0);
}
}