diff options
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) { |