summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r--src/gui/widgets/label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index 4240ff2ad..854b0f33c 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -95,8 +95,8 @@ void Label::draw(gcn::Graphics* graphics)
break;
}
- graphics->setColor(mForegroundColor);
- static_cast<Graphics*>(graphics)->setColor2(mForegroundColor2);
+ static_cast<Graphics*>(graphics)->setColorAll(
+ mForegroundColor, mForegroundColor2);
font->drawString(graphics, mCaption, textX, textY);
BLOCK_END("Label::draw")
}