1
0
Fork 0

Shoot, I removed a bit of crucial information just before committing it.

This commit is contained in:
ehofman 2005-05-03 12:20:17 +00:00
parent 2c3b8e075c
commit a4eebe4277

View file

@ -258,6 +258,14 @@ GUIInfo::~GUIInfo ()
FGDialog::FGDialog (SGPropertyNode * props)
: _object(0)
{
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);
}