summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index db082e3be..a18ec0aa4 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -224,8 +224,7 @@ void EquipmentWindow::draw(gcn::Graphics *graphics)
box->y + mItemPadding);
if (i == EQUIP_PROJECTILE_SLOT)
{
- g->setColor(mLabelsColor);
- g->setColor2(mLabelsColor2);
+ g->setColorAll(mLabelsColor, mLabelsColor2);
const std::string str = toString(item->getQuantity());
font->drawString(g, str,
box->x + (mBoxSize - font->getWidth(str)) / 2,