Explorar el Código

Fix bug. Was using unexpanded var instead of copy

Sebastien Barre hace 24 años
padre
commit
9ad598a9f0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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());
       }