summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.cpp5
-rw-r--r--src/gui/gui.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index afe2019d..48cbd522 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -239,11 +239,6 @@ void Gui::mousePress(int mx, int my, int button)
}
}
-gcn::ImageFont *Gui::getFont()
-{
- return mGuiFont;
-}
-
void
Gui::setUseCustomCursor(bool customCursor)
{
diff --git a/src/gui/gui.h b/src/gui/gui.h
index e612a7fe..1c1d5f8c 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -83,7 +83,7 @@ class Gui : public gcn::Gui, public gcn::MouseListener
* Return game font
*/
gcn::ImageFont*
- getFont();
+ getFont() { return mGuiFont; }
/**
* Sets whether a custom cursor should be rendered.