]> git.mxchange.org Git - flightgear.git/commitdiff
fonts are now delivered by FGFontCache (except for the splash screen,
authormfranz <mfranz>
Fri, 27 Jan 2006 08:01:31 +0000 (08:01 +0000)
committermfranz <mfranz>
Fri, 27 Jan 2006 08:01:31 +0000 (08:01 +0000)
because this comes way before the gui subsystem is ready)

src/GUI/dialog.cxx
src/GUI/dialog.hxx

index a76dbe1c782fb545ebea879522ecd7f6527161cb..f6f48a7835b6dc8f419bedf74845bef057daded7 100644 (file)
@@ -319,14 +319,6 @@ FGDialog::FGDialog (SGPropertyNode * props)
     : _object(0),
       _gui((NewGUI *)globals->get_subsystem("gui"))
 {
-    char* envp = ::getenv( "FG_FONTS" );
-    if ( envp != NULL ) {
-        _font_path.set( envp );
-    } else {
-        _font_path.set( globals->get_fg_root() );
-        _font_path.append( "Fonts" );
-    }
-
     display(props);
 }
 
index 0895ce9c27473f7c3a439cccab27d4c8d3c36393..295945e95d3d1990fe756addb67d58e3427fca46 100644 (file)
@@ -163,8 +163,6 @@ private:
     // dialog closes.
     char ** make_char_array (int size);
     vector<char **> _char_arrays;
-
-    SGPath _font_path;
 };
 
 //