summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 8dae70fe2..c0c3ef94a 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -98,7 +98,7 @@ Window::Window(const std::string &caption, bool modal, Window *parent,
mCaptionOffsetY = getOption("captionoffsety");
if (!mCaptionOffsetY)
mCaptionOffsetY = 5;
- mCaptionAlign = getOption("captionallign");
+ mCaptionAlign = getOption("captionalign");
if (mCaptionAlign < gcn::Graphics::LEFT
|| mCaptionAlign > gcn::Graphics::RIGHT)
{