From: Rebecca N. Palmer Date: Mon, 13 Jul 2015 22:15:36 +0000 (+0100) Subject: avoid ERROR: The path '' does not exist... on startup X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b2ae615e59f8be5f7ad71a9f06600648fa09d2a;p=flightgear.git avoid ERROR: The path '' does not exist... on startup While harmless, it's an annoying distraction --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index b2372d457..c19881438 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -423,7 +423,7 @@ int fgMainInit( int argc, char **argv ) string_list *col = new string_list; globals->set_channel_options_list( col ); - fgValidatePath("", false); // initialize static variables + fgValidatePath(globals->get_fg_home(), false); // initialize static variables upper_case_property("/sim/presets/airport-id"); upper_case_property("/sim/presets/runway"); upper_case_property("/sim/tower/airport-id");