diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-20 17:46:12 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-20 17:46:12 +0000 |
commit | 8d1299338e033e1de539dae36856e365855fabc1 (patch) | |
tree | b986c627fc9e6d125187cc105b0fdab5abdcf5bf /src/gui/gui.cpp | |
parent | 7abe3450b3500bc1f1cc55ccea28d91f12dad178 (diff) | |
download | mana-8d1299338e033e1de539dae36856e365855fabc1.tar.gz mana-8d1299338e033e1de539dae36856e365855fabc1.tar.bz2 mana-8d1299338e033e1de539dae36856e365855fabc1.tar.xz mana-8d1299338e033e1de539dae36856e365855fabc1.zip |
Fixed installing of dejavusans.ttf font.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index db0d1905..d9c8f1ce 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -111,14 +111,14 @@ Gui::Gui(Graphics *graphics): // Set global font std::string path = resman->getPath("fonts/dejavusans.ttf"); - if (path != "") + if (!path.empty()) { mGuiFont = new TrueTypeFont(path.c_str(), 11); } // Set speech font path = resman->getPath("fonts/dejavusans.ttf"); - if (path != "") + if (!path.empty()) { speechFont = new TrueTypeFont(path.c_str(), 11); } |