summaryrefslogtreecommitdiffstats
path: root/src/ui/check.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-09-20 21:47:53 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-09-20 21:47:53 +0200
commite25823f98437461826b52521bcf9d70eb11a00b3 (patch)
tree41e6bf28420d35ac650fe181bd87895bd6b00308 /src/ui/check.cpp
parente896b83bcf2ce803ba9823a530282bcf9c850d2f (diff)
downloadcolobot-e25823f98437461826b52521bcf9d70eb11a00b3.tar.gz
colobot-e25823f98437461826b52521bcf9d70eb11a00b3.tar.bz2
colobot-e25823f98437461826b52521bcf9d70eb11a00b3.zip
Checkbox fix; main dialog buttons
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);
}
}