summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 51d2f9adf..05b168b5e 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -100,7 +100,7 @@ Gui::Gui(Graphics *graphics):
WindowContainer *guiTop = new WindowContainer;
guiTop->setFocusable(true);
guiTop->setDimension(gcn::Rectangle(0, 0,
- graphics->getWidth(), graphics->getHeight()));
+ graphics->mWidth, graphics->mHeight));
guiTop->setOpaque(false);
Window::setWindowContainer(guiTop);
setTop(guiTop);