]> git.mxchange.org Git - flightgear.git/commitdiff
Read the desired menu font from the property system (or default to
authorcurt <curt>
Sat, 7 Sep 2002 14:16:06 +0000 (14:16 +0000)
committercurt <curt>
Sat, 7 Sep 2002 14:16:06 +0000 (14:16 +0000)
typewriter.txf if it's not specified.)

src/GUI/gui.cxx

index f0e40a9a44666b894f13ed0095f2387b37372c74..8dd66e826e327976d5c987012f499f6ad2180649 100644 (file)
@@ -190,7 +190,7 @@ void guiInit()
     }
 
     // Install our fast fonts
-    fntpath.append( "typewriter.txf" );
+    fntpath.append(fgGetString("/sim/font", "typewriter.txf"));
     guiFntHandle = new fntTexFont ;
     guiFntHandle -> load ( (char *)fntpath.c_str() ) ;
     puFont GuiFont ( guiFntHandle, 15 ) ;