summaryrefslogtreecommitdiff
path: root/src/guichan
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-14 20:30:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-14 20:51:13 +0300
commitb70d1b6d97dcfd78030fb457889e37cb45f6097d (patch)
tree9f86d6389397887003b920f2335d387398bdcfd6 /src/guichan
parent84499779fcf0c8b5392a88f1c9311775e692ebef (diff)
downloadplus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.gz
plus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.bz2
plus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.tar.xz
plus-b70d1b6d97dcfd78030fb457889e37cb45f6097d.zip
Fix code style.
Diffstat (limited to 'src/guichan')
-rw-r--r--src/guichan/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widget.cpp b/src/guichan/widget.cpp
index 87d6fb635..8fa7cf65a 100644
--- a/src/guichan/widget.cpp
+++ b/src/guichan/widget.cpp
@@ -110,7 +110,7 @@ namespace gcn
void Widget::drawFrame(Graphics* graphics)
{
- const Color faceColor = getBaseColor();
+ const Color &faceColor = getBaseColor();
Color highlightColor = faceColor + 0x303030;
Color shadowColor = faceColor - 0x303030;
const int alpha = getBaseColor().a;