diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-25 18:27:49 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-05-25 18:27:49 +0200 |
| commit | 9212a7d2e9611994dfc5fa2066b8ecbe68b198a8 (patch) | |
| tree | ab4d6670668f519dd89066197cda349811f8978b /src | |
| parent | 09e75d14e561ae58db0ca8fdb37921c40fa8d420 (diff) | |
Use hasSuffix() where needed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/modinforegular.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp index 8d5d702d..a1f1a04d 100644 --- a/src/modinforegular.cpp +++ b/src/modinforegular.cpp @@ -698,7 +698,7 @@ std::vector<ModInfo::EContent> ModInfoRegular::doGetContents() const if (e) { contents.push_back(CONTENT_SKSEFILES); for (auto f : *e) { - if (f->suffix().compare("dll", FileNameComparator::CaseSensitivity) == 0) { + if (f->hasSuffix("dll")) { contents.push_back(CONTENT_SKSE); break; } |
