summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 67138ba..46a10a9 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -566,9 +566,9 @@ bool cmMakefile::ReadListFile(const char* filename_in,
const char *filenametoread = filename;
// keep track of the current file being read
- if (filename)
+ if (filenametoread)
{
- this->cmCurrentListFile = filename;
+ this->cmCurrentListFile = filenametoread;
}
if(external_in)