mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Binary Pattern search being broken with alignments > 1
This commit is contained in:
@@ -353,7 +353,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
bool match = true;
|
||||
for (u32 i = 0; i < patternSize; i++) {
|
||||
if (settings.pattern.matchesByte(data[i], i)) {
|
||||
if (!settings.pattern.matchesByte(data[i], i)) {
|
||||
match = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user