fix: Process Memory provider search not being case insensitive
This commit is contained in:
parent
3254376d28
commit
9b80486285
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 97dc66c2b3da4357c5596e4b2308210505ba6178
|
Subproject commit a866df98fe3532ed28f9753a0a2ea4599f71fa52
|
@ -8,6 +8,7 @@
|
|||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
#include <hex/ui/imgui_imhex_extensions.h>
|
#include <hex/ui/imgui_imhex_extensions.h>
|
||||||
#include <hex/ui/widgets.hpp>
|
#include <hex/ui/widgets.hpp>
|
||||||
|
#include <hex/helpers/utils.hpp>
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
@ -87,10 +88,10 @@ namespace hex::plugin::windows {
|
|||||||
|
|
||||||
std::set<MemoryRegion> m_memoryRegions;
|
std::set<MemoryRegion> m_memoryRegions;
|
||||||
ui::SearchableWidget<Process> m_processSearchWidget = ui::SearchableWidget<Process>([](const std::string &search, const Process &process) {
|
ui::SearchableWidget<Process> m_processSearchWidget = ui::SearchableWidget<Process>([](const std::string &search, const Process &process) {
|
||||||
return process.name.contains(search);
|
return hex::containsIgnoreCase(process.name, search);
|
||||||
});
|
});
|
||||||
ui::SearchableWidget<MemoryRegion> m_regionSearchWidget = ui::SearchableWidget<MemoryRegion>([](const std::string &search, const MemoryRegion &memoryRegion) {
|
ui::SearchableWidget<MemoryRegion> m_regionSearchWidget = ui::SearchableWidget<MemoryRegion>([](const std::string &search, const MemoryRegion &memoryRegion) {
|
||||||
return memoryRegion.name.contains(search);
|
return hex::containsIgnoreCase(memoryRegion.name, search);
|
||||||
});
|
});
|
||||||
|
|
||||||
HANDLE m_processHandle = nullptr;
|
HANDLE m_processHandle = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user