summaryrefslogtreecommitdiff
path: root/src/guichan/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/gui.cpp')
-rw-r--r--src/guichan/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guichan/gui.cpp b/src/guichan/gui.cpp
index 41ff39797..41b9fe30f 100644
--- a/src/guichan/gui.cpp
+++ b/src/guichan/gui.cpp
@@ -343,7 +343,7 @@ namespace gcn
mWidgetWithMouseQueue.push_front(widget);
}
- Widget *const swap = widget;
+ const Widget *const swap = widget;
widget = parent;
parent = swap->getParent();
}
@@ -637,7 +637,7 @@ namespace gcn
break;
}
- Widget *const swap = widget;
+ const Widget *const swap = widget;
widget = parent;
parent = swap->getParent();