summaryrefslogtreecommitdiff
path: root/src/guichan
diff options
context:
space:
mode:
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;