summaryrefslogtreecommitdiff
path: root/src/gui/button.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-13 15:21:36 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-13 15:21:36 +0000
commitbf23cb55879943f7c29ff66ae99dab341aba5c66 (patch)
treea713e509739e69bace491c6f059798185638b4d0 /src/gui/button.cpp
parentacf69fd277e17c6bdf001551697d7321f84909df (diff)
downloadmana-bf23cb55879943f7c29ff66ae99dab341aba5c66.tar.gz
mana-bf23cb55879943f7c29ff66ae99dab341aba5c66.tar.bz2
mana-bf23cb55879943f7c29ff66ae99dab341aba5c66.tar.xz
mana-bf23cb55879943f7c29ff66ae99dab341aba5c66.zip
Make sure Alt shortcuts don't appear in chatbox.
Diffstat (limited to 'src/gui/button.cpp')
-rw-r--r--src/gui/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/button.cpp b/src/gui/button.cpp
index bf2ca6c6..78fbf7c7 100644
--- a/src/gui/button.cpp
+++ b/src/gui/button.cpp
@@ -135,7 +135,7 @@ void Button::draw(gcn::Graphics* graphics)
throw GCN_EXCEPTION("Button::draw. Uknown alignment.");
}
- graphics->setFont((gcn::ImageFont*)getFont());
+ graphics->setFont(getFont());
if (isPressed()) {
graphics->drawText(getCaption(), textX + 1, textY + 1, getAlignment());