1
0
mirror of synced 2025-01-31 12:03:46 +01:00

impr: Make find view string filter case insensitive

This commit is contained in:
WerWolv 2023-01-28 20:55:11 +01:00
parent c4d52da924
commit 86be1ef1ec

View File

@ -770,7 +770,7 @@ namespace hex::plugin::builtin {
this->m_sortedOccurrences[provider] = this->m_foundOccurrences[provider];
currOccurrences.erase(std::remove_if(currOccurrences.begin(), currOccurrences.end(), [this, provider](const auto &region) {
return !this->decodeValue(provider, region).contains(this->m_currFilter[provider]);
return !hex::containsIgnoreCase(this->decodeValue(provider, region), this->m_currFilter[provider]);
}), currOccurrences.end());
}
ImGui::PopItemWidth();