]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - localdir.cc
2002-11-10 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / localdir.cc
index a4c2cf3b9b467e409cbe91114864787d8265527a..8955abc79294a4502c7a4bbcc5b52121a5c37c4d 100644 (file)
@@ -42,7 +42,7 @@ static const char *cvsid =
 
 #include "threebar.h"
 extern ThreeBarProgressPage Progress;
-extern LogFile theLog;
+extern LogFile theLog;
 void
 save_local_dir ()
 {
@@ -63,15 +63,15 @@ save_local_dir ()
     }
   if (source == IDC_SOURCE_DOWNLOAD || !get_root_dir ().size())
     {
-      theLog.clearFiles();
-      theLog.setFile (LOG_BABBLE, local_dir + "/setup.log.full", false);
-      theLog.setFile (0, local_dir + "/setup.log", true);
+      theLog->clearFiles();
+      theLog->setFile (LOG_BABBLE, local_dir + "/setup.log.full", false);
+      theLog->setFile (0, local_dir + "/setup.log", true);
     }
   else
     {
-      theLog.clearFiles();
-      theLog.setFile (LOG_BABBLE, cygpath ("/var/log/setup.log.full"), false);
-      theLog.setFile (0, cygpath ("/var/log/setup.log"), true);
+      theLog->clearFiles();
+      theLog->setFile (LOG_BABBLE, cygpath ("/var/log/setup.log.full"), false);
+      theLog->setFile (0, cygpath ("/var/log/setup.log"), true);
     }
 }
 
This page took 0.024673 seconds and 5 git commands to generate.