diff options
Diffstat (limited to 'src/gui/button.cpp')
-rw-r--r-- | src/gui/button.cpp | 2 |
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()); |