add another check to StretchBlt hook
This commit is contained in:
parent
686b2c738b
commit
82526a9597
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ BOOL WINAPI fake_StretchBlt(
|
||||||
|
|
||||||
if (g_ddraw && g_ddraw->hwnd &&
|
if (g_ddraw && g_ddraw->hwnd &&
|
||||||
(hwnd == g_ddraw->hwnd ||
|
(hwnd == g_ddraw->hwnd ||
|
||||||
(IsChild(g_ddraw->hwnd, hwnd) &&
|
(g_ddraw->fixchilds && IsChild(g_ddraw->hwnd, hwnd) &&
|
||||||
(g_ddraw->fixchilds == FIX_CHILDS_DETECT_HIDE ||
|
(g_ddraw->fixchilds == FIX_CHILDS_DETECT_HIDE ||
|
||||||
strcmp(class_name, "AVIWnd32") == 0 ||
|
strcmp(class_name, "AVIWnd32") == 0 ||
|
||||||
strcmp(class_name, "MCIWndClass") == 0))))
|
strcmp(class_name, "MCIWndClass") == 0))))
|
||||||
|
|
Loading…
Reference in a new issue