summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-26 20:08:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-26 20:08:06 +0300
commitd60eec2c2cd453ecbaee7883a272479792875465 (patch)
treee69ce19116c4d7eb043c33bc577866959bc87b43 /src/gui/widgets/tabbedarea.cpp
parent5560a44ff5beea4fc2b88a589a3f915b9d0555d2 (diff)
downloadmanaplus-d60eec2c2cd453ecbaee7883a272479792875465.tar.gz
manaplus-d60eec2c2cd453ecbaee7883a272479792875465.tar.bz2
manaplus-d60eec2c2cd453ecbaee7883a272479792875465.tar.xz
manaplus-d60eec2c2cd453ecbaee7883a272479792875465.zip
fix code style more.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 75be5bf6f..21e615252 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -381,7 +381,7 @@ void TabbedArea::widgetResized(const gcn::Event &event A_UNUSED)
{
if (mFollowDownScroll && height != 0)
{
- const gcn::Rectangle rect = w->getDimension();
+ const gcn::Rectangle &rect = w->getDimension();
if (rect.height != 0 && rect.height > height + 2)
{
if (scr->getVerticalScrollAmount()