summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index fd1582656..c62ab9bba 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -101,7 +101,7 @@ WindowMenu::WindowMenu():
if (graphics)
{
- setDimension(gcn::Rectangle(graphics->getWidth() - x - 3,
+ setDimension(gcn::Rectangle(graphics->mWidth - x - 3,
3, x - 3, h));
}
@@ -347,7 +347,7 @@ void WindowMenu::updateButtons()
}
if (graphics)
{
- setDimension(gcn::Rectangle(graphics->getWidth() - x - 3,
+ setDimension(gcn::Rectangle(graphics->mWidth - x - 3,
3, x - 3, h));
}
}