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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 22d94791..2da451a3 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -106,7 +106,8 @@ Gui::Gui(Graphics *graphics):
// Set global font
std::string path = resman->getPath("fonts/dejavusans.ttf");
try {
- mGuiFont = new TrueTypeFont(path, 11);
+ const int fontSize = config.getValue("fontSize", 11);
+ mGuiFont = new TrueTypeFont(path, fontSize);
}
catch (gcn::Exception e)
{