Shoot, I removed a bit of crucial information just before committing it.
This commit is contained in:
parent
2c3b8e075c
commit
a4eebe4277
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue