mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1151318 - Fixed wchar_t/char16_t mismatch on mingw.
This commit is contained in:
parent
6d45eb2267
commit
f7d1d49def
@ -1768,7 +1768,7 @@ PluginInstanceChild::SetCaptureHook(HWND aHwnd)
|
||||
wchar_t className[256] = {0};
|
||||
int numChars = GetClassNameW(aHwnd, className, ArrayLength(className));
|
||||
NS_NAMED_LITERAL_STRING(unityClassName, "Unity.WebPlayer");
|
||||
if (numChars == unityClassName.Length() && unityClassName == className) {
|
||||
if (numChars == unityClassName.Length() && unityClassName == wwc(className)) {
|
||||
sSetCaptureHookData = new SetCaptureHookData(aHwnd);
|
||||
}
|
||||
return sUser32SetCaptureHookStub(aHwnd);
|
||||
|
Loading…
Reference in New Issue
Block a user