summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-30 13:27:21 -0700
committerIra Rice <irarice@gmail.com>2009-01-30 13:27:21 -0700
commit296b5ce5cf2316dad9b3ebc3328ec1f3a1375a2e (patch)
tree96f126b849ab963ff5b44c0437622d836083bd59
parent85a02d69af733b327e4f3bb8011472de95bbba07 (diff)
downloadmana-296b5ce5cf2316dad9b3ebc3328ec1f3a1375a2e.tar.gz
mana-296b5ce5cf2316dad9b3ebc3328ec1f3a1375a2e.tar.bz2
mana-296b5ce5cf2316dad9b3ebc3328ec1f3a1375a2e.tar.xz
mana-296b5ce5cf2316dad9b3ebc3328ec1f3a1375a2e.zip
Fixed the item container so that it displays all item captions with the
default font. Signed-off-by: Ira Rice <irarice@gmail.com>
-rw-r--r--src/gui/itemcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index ab3da9f6..caae3dca 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -123,6 +123,7 @@ void ItemContainer::draw(gcn::Graphics *graphics)
}
// Draw item caption
+ graphics->setFont(getFont());
graphics->setColor(0x000000);
graphics->drawText(
(item->isEquipped() ? "Eq." : toString(item->getQuantity())),