From a67a99acb7394861e253c28336eba28e7b68b77c Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sun, 24 May 2020 15:35:09 +0200 Subject: Force lower case comparison for extensions in getContents(). --- src/modinforegular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp index 87f6ce77..85659bd2 100644 --- a/src/modinforegular.cpp +++ b/src/modinforegular.cpp @@ -660,7 +660,7 @@ std::vector ModInfoRegular::getContents() const for (auto e : *tree) { if (e->isFile()) { - auto suffix = e->suffix(); + auto suffix = e->suffix().toLower(); if (suffix == "esp" || suffix == "esm" || suffix == "esl") { contents.push_back(CONTENT_PLUGIN); } -- cgit v1.3.1