summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-20 17:46:12 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-20 17:46:12 +0000
commit8d1299338e033e1de539dae36856e365855fabc1 (patch)
treeb986c627fc9e6d125187cc105b0fdab5abdcf5bf /src/gui/gui.cpp
parent7abe3450b3500bc1f1cc55ccea28d91f12dad178 (diff)
downloadmana-client-8d1299338e033e1de539dae36856e365855fabc1.tar.gz
mana-client-8d1299338e033e1de539dae36856e365855fabc1.tar.bz2
mana-client-8d1299338e033e1de539dae36856e365855fabc1.tar.xz
mana-client-8d1299338e033e1de539dae36856e365855fabc1.zip
Fixed installing of dejavusans.ttf font.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp4
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);
}