From: Rebecca N. Palmer Date: Tue, 14 Jul 2015 18:43:51 +0000 (+0100) Subject: fgValidatePath: remove overly fragile test case X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e2cbacff9022111a47cd2179b3161f7945e878f7;p=flightgear.git fgValidatePath: remove overly fragile test case Fix failure to start with non-standard TerraSync directory --- diff --git a/src/Main/util.cxx b/src/Main/util.cxx index d6be946fa..1974d64b3 100644 --- a/src/Main/util.cxx +++ b/src/Main/util.cxx @@ -156,7 +156,6 @@ void fgInitAllowedPaths() !fgValidatePath(globals->get_fg_home() + "/nolog",true).empty() || !fgValidatePath(globals->get_fg_home() + "no.log",true).empty() || !fgValidatePath(globals->get_fg_home() + "\\..\\no.log",false).empty() || - fgValidatePath(globals->get_fg_home() + "/./TerraSync/../Export\\yes..gg",true).empty() || fgValidatePath(globals->get_fg_home() + "/aircraft-data/yes..xml",true).empty() || fgValidatePath(globals->get_fg_root() + "/.\\yes.bmp",false).empty()) { flightgear::fatalMessageBox("Nasal initialization error",