summaryrefslogtreecommitdiff
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-01 15:18:30 -0400
committerBrad King <brad.king@kitware.com>2012-10-01 15:18:30 -0400
commit4b8d3639ad42d0ddfaee8cf52e3979b7e60eacc1 (patch)
tree65e3195a695cd2510819dae228de5f046b2de3ea /Source/kwsys/SystemTools.cxx
parenta61f633737067da7d765c5e479a7d6754d4a083a (diff)
parent5d0de36d2b2f420ab58841bbcd47c45fcdc4486e (diff)
downloadcmake-4b8d3639ad42d0ddfaee8cf52e3979b7e60eacc1.tar.gz
Merge branch 'upstream-kwsys' into import-KWSys-subtree
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 66850e9ac8..085d988360 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1665,7 +1665,7 @@ kwsys_stl::string SystemTools::EscapeChars(
kwsys_stl::string n;
if (str)
{
- if (!chars_to_escape | !*chars_to_escape)
+ if (!chars_to_escape || !*chars_to_escape)
{
n.append(str);
}