diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 6651a01d5..51d2f9adf 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -330,6 +330,12 @@ void Gui::updateFonts() fontFile = branding.getStringValue("boldFont"); static_cast<SDLFont*>(boldFont)->loadFont(fontFile, fontSize); + + fontFile = config.getValue("secureFont", ""); + if (fontFile.empty()) + fontFile = branding.getStringValue("secureFont"); + + static_cast<SDLFont*>(mSecureFont)->loadFont(fontFile, fontSize); } void Gui::distributeMouseEvent(gcn::Widget* source, int type, int button, |