From 5b2ae615e59f8be5f7ad71a9f06600648fa09d2a Mon Sep 17 00:00:00 2001 From: "Rebecca N. Palmer" Date: Mon, 13 Jul 2015 23:15:36 +0100 Subject: [PATCH] avoid ERROR: The path '' does not exist... on startup While harmless, it's an annoying distraction --- src/Main/main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5