DMM engine hooks fix

This commit is contained in:
Blu3train 2023-04-21 23:22:15 +02:00
parent 1cf40e1082
commit 82a885102d

View File

@ -21735,7 +21735,7 @@ bool DmmFilter(LPVOID data, DWORD *size, HookParam *, BYTE)
StringCharReplacer(text, len, "\\n", 2, ' ');
StringCharReplacer(text, len, "\\k", 2, ' ');
if (cpp_strnstr(text, "{W", *len)) {
if (cpp_strnstr(text, "{", *len)) {
StringFilterBetween(text, len, "{", 1, "}", 1);
}
return true;