diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 12936807..8f5ffd50 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -109,9 +109,7 @@ Gui::Gui(Graphics *graphics): } catch (gcn::Exception e) { - logger->log("Unable to load dejavusans.ttf: %s", - e.getMessage().c_str()); - throw; + logger->error(std::string("Unable to load dejavusans.ttf: ") + e.getMessage()); } // Set speech font @@ -122,9 +120,7 @@ Gui::Gui(Graphics *graphics): } catch (gcn::Exception e) { - logger->log("Unable to load dejavusans.ttf: %s", - e.getMessage().c_str()); - throw; + logger->error(std::string("Unable to load dejavusans.ttf: ") + e.getMessage()); } gcn::Widget::setGlobalFont(mGuiFont); |