summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 27b53d3..1f68b70 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1862,7 +1862,7 @@ void cmSystemTools::ExpandListArguments(std::vector<std::string> const& argument
std::string::size_type pos = newarg.find("\\;");
if(pos != std::string::npos)
{
- newarg[pos] = ' ';
+ newarg.erase(pos, 1);
}
newargs.push_back(newarg);
}