summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spellshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index 262f49f58..f03f1d4ca 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -109,8 +109,7 @@ void SpellShortcutContainer::draw(gcn::Graphics *graphics)
gcn::Font *const font = getFont();
const int selectedId = spellShortcut->getSelectedItem();
- g->setColor(mForegroundColor);
- g->setColor2(mForegroundColor2);
+ g->setColorAll(mForegroundColor, mForegroundColor2);
drawBackground(g);
for (unsigned i = 0; i < mMaxItems; i++)