diff options
author | Phil Pritchett <p.pritchett@2d3.com> | 2001-11-05 10:43:48 (GMT) |
---|---|---|
committer | Phil Pritchett <p.pritchett@2d3.com> | 2001-11-05 10:43:48 (GMT) |
commit | 847633097915ea18cc15f4886dbfc0a8df43d359 (patch) | |
tree | 9bf91b6fe3658dc4d610ed1f079ea7fd0fbfa8c2 /Source/cmDSPWriter.cxx | |
parent | d0b210aec0939dbd6054b5d754446226dd55ef18 (diff) | |
download | CMake-847633097915ea18cc15f4886dbfc0a8df43d359.zip CMake-847633097915ea18cc15f4886dbfc0a8df43d359.tar.gz CMake-847633097915ea18cc15f4886dbfc0a8df43d359.tar.bz2 |
switched string::compare to strncmp
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 8f8b3f1..180de34 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -128,7 +128,7 @@ void cmDSPWriter::OutputDSPFile() // so don't build a projectfile for it if ((l->second.GetType() != cmTarget::INSTALL_FILES) && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS) - && (l->first.compare(0,26, "INCLUDE_EXTERNAL_MSPROJECT") != 0)) + && (strncmp(l->first.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) != 0)) { this->CreateSingleDSP(l->first.c_str(),l->second); } |