Use FGGlobals::get_fg_root instead of looking up the environment
variable directly.
This commit is contained in:
parent
5d5de3c903
commit
9e143bc615
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ NewGUI::init ()
|
|||
{
|
||||
char path1[1024];
|
||||
char path2[1024];
|
||||
ulMakePath(path1, getenv("FG_ROOT"), "gui");
|
||||
ulMakePath(path1, globals->get_fg_root().c_str(), "gui");
|
||||
ulMakePath(path2, path1, "dialogs");
|
||||
readDir(path2);
|
||||
#if !defined(FG_OLD_MENUBAR)
|
||||
|
|
Loading…
Reference in a new issue