diff options
author | 2016-07-27 09:26:22 +0200 | |
---|---|---|
committer | 2016-07-27 09:26:22 +0200 | |
commit | 4887ce18443a51fd2a861da959082ad346ff4ee2 (patch) | |
tree | f21e5096b569bff399a6e03c09715502ef859c34 /src/lib/util/corefile.cpp | |
parent | 385f433cf4f7c3a2fa6012536a479de6ddddc68a (diff) |
Cleanups and version bump
Diffstat (limited to 'src/lib/util/corefile.cpp')
-rw-r--r-- | src/lib/util/corefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/corefile.cpp b/src/lib/util/corefile.cpp index 7a34406cf02..8e52b942d2f 100644 --- a/src/lib/util/corefile.cpp +++ b/src/lib/util/corefile.cpp @@ -1302,7 +1302,7 @@ bool core_filename_ends_with(const std::string &filename, const std::string &ext // first if the extension is bigger than the name, we definitely don't match bool matches = namelen >= extlen; - + // work backwards checking for a match while (matches && extlen > 0 && namelen > 0) { |