diff options
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index 8843976e1..8da2e3071 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -265,9 +265,10 @@ void EquipmentWindow::draw(Graphics *graphics) box->y + mItemPadding); if (i == projSlot) { - graphics->setColorAll(mLabelsColor, mLabelsColor2); const std::string str = toString(item->getQuantity()); font->drawString(graphics, + mLabelsColor, + mLabelsColor2, str, box->x + (mBoxSize - font->getWidth(str)) / 2, box->y - fontHeight); |