diff options
Diffstat (limited to 'cpp/src/IcePatch/Util.cpp')
-rw-r--r-- | cpp/src/IcePatch/Util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch/Util.cpp b/cpp/src/IcePatch/Util.cpp index 0b59e8be821..76b9c004fa0 100644 --- a/cpp/src/IcePatch/Util.cpp +++ b/cpp/src/IcePatch/Util.cpp @@ -721,7 +721,7 @@ IcePatch::removeOrphanedRecursive(const string& path) for (p = paths.begin(); p != paths.end(); ++p) { string suffix = getSuffix(*p); - if (suffix == ".md5" || suffix == ".bz2") + if (suffix == "md5" || suffix == "bz2") { pair<StringSeq::const_iterator, StringSeq::const_iterator> r = equal_range(paths.begin(), paths.end(), removeSuffix(*p)); |