summaryrefslogtreecommitdiff
path: root/src/guichan/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
commitbc92643d8db723b5049db2dbad1ce052a0ae77a9 (patch)
tree4471be99711ee310c811e990d7c210e2393aeb6e /src/guichan/gui.cpp
parent82cc576b7896f39bcf71aa85c8c4b3ef786c065b (diff)
downloadplus-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.gz
plus-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.bz2
plus-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.xz
plus-bc92643d8db723b5049db2dbad1ce052a0ae77a9.zip
Fix code style and some other minor issues.
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();