summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
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 c508e38..1e79ee8 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -2170,7 +2170,7 @@ SystemToolsAppendComponents(
out_components.erase(out_components.end()-1, out_components.end());
}
}
- else if(*i != "." && *i != "")
+ else if(!(*i == ".") && !(*i != ""))
{
out_components.push_back(*i);
}