]> git.mxchange.org Git - flightgear.git/commitdiff
fgValidatePath: remove overly fragile test case
authorRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 14 Jul 2015 18:43:51 +0000 (19:43 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 14 Jul 2015 18:43:51 +0000 (19:43 +0100)
Fix failure to start with non-standard TerraSync directory

src/Main/util.cxx

index d6be946fa3ca35c68a77faaab58e0b9e8e30a23d..1974d64b3686dbb1983fae82851ef764170f668a 100644 (file)
@@ -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",