]> git.mxchange.org Git - simgear.git/commitdiff
Fix no-svn build (Win64 only at present)
authorJames Turner <zakalawe@mac.com>
Fri, 20 Sep 2013 08:18:43 +0000 (09:18 +0100)
committerJames Turner <zakalawe@mac.com>
Fri, 20 Sep 2013 08:18:43 +0000 (09:18 +0100)
simgear/scene/tsync/terrasync.cxx

index edc1d46239abc31f0b927d9a9a380aab4b6c6799..23b2684d5cc4bb7112491bf78e05445fad6b75cc 100644 (file)
@@ -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