fix CreateWindowExA hook
This commit is contained in:
parent
a7fcc238e4
commit
7cce45b64a
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ HWND WINAPI fake_CreateWindowExA(
|
|||
DWORD dwExStyle, LPCSTR lpClassName, LPCSTR lpWindowName, DWORD dwStyle, int X, int Y,
|
||||
int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam)
|
||||
{
|
||||
if (lpClassName && _strcmpi(lpClassName, "SDlgDialog") == 0 && g_ddraw)
|
||||
if (HIWORD(lpClassName) && _strcmpi(lpClassName, "SDlgDialog") == 0 && g_ddraw)
|
||||
{
|
||||
if (!g_ddraw->bnet_active)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue