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.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);
}