Ignore case when extracting BIF files

This commit is contained in:
Vsevolod Kremianskii 2021-04-12 13:42:14 +07:00
parent 66d2a68c45
commit 2a95fbfb3f

View file

@ -52,7 +52,7 @@ void KeyBifTool::invoke(Operation operation, const fs::path &target, const fs::p
int bifIdx = -1;
for (size_t i = 0; i < key.files().size(); ++i) {
if (boost::ends_with(key.getFilename(static_cast<int>(i)), target.filename().string())) {
if (boost::iends_with(key.getFilename(static_cast<int>(i)), target.filename().string())) {
bifIdx = static_cast<int>(i);
break;
}