1
0
Fork 0

Use FGGlobals::get_fg_root instead of looking up the environment

variable directly.
This commit is contained in:
david 2003-01-19 12:54:26 +00:00
parent 5d5de3c903
commit 9e143bc615

View file

@ -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)