From: James Turner Date: Fri, 20 Sep 2013 08:18:43 +0000 (+0100) Subject: Fix no-svn build (Win64 only at present) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b39bca9458c4b15b8da4c8ec234bb3a8e2e9c153;p=simgear.git Fix no-svn build (Win64 only at present) --- diff --git a/simgear/scene/tsync/terrasync.cxx b/simgear/scene/tsync/terrasync.cxx index edc1d462..23b2684d 100644 --- a/simgear/scene/tsync/terrasync.cxx +++ b/simgear/scene/tsync/terrasync.cxx @@ -858,11 +858,11 @@ void SGTerraSync::reinit() _svnThread->setRsyncServer(_terraRoot->getStringValue("rsync-server","")); _svnThread->setLocalDir(_terraRoot->getStringValue("scenery-dir","")); _svnThread->setAllowedErrorCount(_terraRoot->getIntValue("max-errors",5)); - _svnThread->setCachePath(SGPath(_terraRoot->getStringValue("cache-path",""))); - _svnThread->setCacheHits(_terraRoot->getIntValue("cache-hit", 0)); #if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT) _svnThread->setUseBuiltin(_terraRoot->getBoolValue("use-built-in-svn",true)); + _svnThread->setCachePath(SGPath(_terraRoot->getStringValue("cache-path",""))); + _svnThread->setCacheHits(_terraRoot->getIntValue("cache-hit", 0)); #else _terraRoot->setBoolValue("use-built-in-svn",false); #endif