summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 1b9b955f0..d266d3ce8 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -283,8 +283,7 @@ void Window::draw(gcn::Graphics *graphics)
// Draw title
if (mShowTitle)
{
- g->setColor(mForegroundColor);
- g->setColor2(mForegroundColor2);
+ g->setColorAll(mForegroundColor, mForegroundColor2);
int x;
switch (static_cast<gcn::Graphics::Alignment>(mCaptionAlign))
{