Skip to content

Commit 74da61b

Browse files
committed
fixed DarthTon#102
1 parent 9502ccd commit 74da61b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BlackBone/Patterns/PatternSearch.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ size_t PatternSearch::SearchRemoteWhole( Process& remote, bool useWildcard, uint
209209
continue;
210210

211211
if (useWildcard)
212-
Search( buf, static_cast<size_t>(mbi.RegionSize), out, memptr );
213-
else
214212
Search( wildcard, buf, static_cast<size_t>(mbi.RegionSize), out, memptr );
213+
else
214+
Search( buf, static_cast<size_t>(mbi.RegionSize), out, memptr );
215215
}
216216

217217
VirtualFree( buf, 0, MEM_RELEASE );

0 commit comments

Comments
 (0)