summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 35b3c843..ec9a6adc 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -91,8 +91,10 @@ Gui::Gui(Graphics *graphics)
{
logger->error("Unable to load fixedfont.png!");
}
+
+ gcn::Widget::setGlobalFont(guiFont);
- // Set hits' colourful fonts
+ // Load hits' colourful fonts
try {
hitRedFont = new gcn::ImageFont(
TMW_DATADIR "data/graphics/gui/hits_red.png",
@@ -108,8 +110,6 @@ Gui::Gui(Graphics *graphics)
{
logger->error("Unable to load colored hits' fonts!");
}
-
- gcn::Widget::setGlobalFont(guiFont);
}
Gui::~Gui()