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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 2a0c1d641..47a533bf8 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -757,7 +757,8 @@ MouseEvent *Gui::createMouseEvent(Window *const widget)
mouseX - x, mouseY - y, mClickCount);
}
-void Gui::getAbsolutePosition(gcn::Widget *widget, int &x, int &y)
+void Gui::getAbsolutePosition(gcn::Widget *restrict widget,
+ int &restrict x, int &restrict y)
{
x = 0;
y = 0;