Преглед изворни кода

BUG: Fixed stupid error in the hack I just checked in.

Brad King пре 24 година
родитељ
комит
07c4f9f145
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Source/cmSystemTools.cxx

+ 1 - 1
Source/cmSystemTools.cxx

@@ -93,7 +93,7 @@ void cmSystemTools::GetPath(std::vector<std::string>& path)
   // A hack to make the below algorithm work.  
   // A hack to make the below algorithm work.  
   if(pathEnv[pathEnv.length()-1] != ':')
   if(pathEnv[pathEnv.length()-1] != ':')
     {
     {
-    pathEnv += ":";  
+    pathEnv += pathSep;
     }
     }
   std::string::size_type start =0;
   std::string::size_type start =0;
   bool done = false;
   bool done = false;