Răsfoiți Sursa

Fix bug. Was using unexpanded var instead of copy

Sebastien Barre 24 ani în urmă
părinte
comite
9ad598a9f0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmSourceFilesCommand.cxx

+ 1 - 1
Source/cmSourceFilesCommand.cxx

@@ -71,7 +71,7 @@ bool cmSourceFilesCommand::InitialPass(std::vector<std::string> const& args)
       }
     else
       {
-      file.SetName(i->c_str(), m_Makefile->GetCurrentDirectory(),
+      file.SetName(copy.c_str(), m_Makefile->GetCurrentDirectory(),
                    m_Makefile->GetSourceExtensions(),
                    m_Makefile->GetHeaderExtensions());
       }