summaryrefslogtreecommitdiff
path: root/src/modinforegular.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-05-25 18:27:49 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-05-25 18:27:49 +0200
commit9212a7d2e9611994dfc5fa2066b8ecbe68b198a8 (patch)
treeab4d6670668f519dd89066197cda349811f8978b /src/modinforegular.cpp
parent09e75d14e561ae58db0ca8fdb37921c40fa8d420 (diff)
Use hasSuffix() where needed.
Diffstat (limited to 'src/modinforegular.cpp')
-rw-r--r--src/modinforegular.cpp2
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;
}