From 9212a7d2e9611994dfc5fa2066b8ecbe68b198a8 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Mon, 25 May 2020 18:27:49 +0200 Subject: Use hasSuffix() where needed. --- src/modinforegular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modinforegular.cpp') 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 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; } -- cgit v1.3.1