modified filter for win10 compatibility

This commit is contained in:
Blu3train 2023-08-22 19:27:44 +02:00
parent 52a9e2f0d4
commit f8e18ed443

View File

@ -21734,7 +21734,8 @@ bool BishopFilter(LPVOID data, DWORD *size, HookParam *, BYTE)
auto len = reinterpret_cast<size_t *>(size); auto len = reinterpret_cast<size_t *>(size);
WideStringCharReplacer(text, len, L"\\n", 2, L' '); WideStringCharReplacer(text, len, L"\\n", 2, L' ');
WideStringFilter(text, len, L"\\", 2); // remove \ followed by 1 char WideStringFilter(text, len, L"\\b", 2);
WideStringFilter(text, len, L"\\s", 2);
WideCharFilter(text, len, L'\xE000'); // heart symbol WideCharFilter(text, len, L'\xE000'); // heart symbol
return true; return true;