]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui.cxx
Add a node mask bit for permanent lights (needed by Rembrandt) and select it in the...
[flightgear.git] / src / GUI / gui.cxx
index f659d325a47e26263b115dccad93b4c8292d2ae3..f9a16925973c0dc504ba5ceb11aebe5e3e378000 100644 (file)
@@ -41,8 +41,9 @@
 
 #include <Main/main.hxx>
 #include <Main/globals.hxx>
+#include <Main/locale.hxx>
 #include <Main/fg_props.hxx>
-#include <Main/WindowSystemAdapter.hxx>
+#include <Viewer/WindowSystemAdapter.hxx>
 #include <GUI/new_gui.hxx>
 #include <GUI/FGFontCache.hxx>
 
@@ -78,8 +79,7 @@ public:
         FGFontCache *fc = globals->get_fontcache();
         fc->initializeFonts();
         puFont *GuiFont
-            = fc->get(globals->get_locale()->getStringValue("font",
-                                                            "typewriter.txf"),
+            = fc->get(globals->get_locale()->getDefaultFont("typewriter.txf"),
                       15);
         puSetDefaultFonts(*GuiFont, *GuiFont);
         guiFnt = puGetDefaultLabelFont();