mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
Revert "improve logging"
This reverts commit 65977a8268f22809caf903c3545c46ec93cec800.
This commit is contained in:
parent
65977a8268
commit
9cc00bd6cf
14
src/utils.c
14
src/utils.c
@ -587,7 +587,6 @@ BOOL CALLBACK util_enum_child_proc(HWND hwnd, LPARAM lparam)
|
||||
{
|
||||
IDirectDrawSurfaceImpl* this = (IDirectDrawSurfaceImpl*)lparam;
|
||||
|
||||
HWND parent = GetParent(hwnd);
|
||||
RECT size;
|
||||
RECT pos;
|
||||
|
||||
@ -602,15 +601,10 @@ BOOL CALLBACK util_enum_child_proc(HWND hwnd, LPARAM lparam)
|
||||
LONG style = real_GetWindowLongA(hwnd, GWL_STYLE);
|
||||
LONG exstyle = real_GetWindowLongA(hwnd, GWL_EXSTYLE);
|
||||
|
||||
#ifdef _DEBUG_X
|
||||
TRACE("util_enum_child_proc class=%s, hwnd=%p, width=%u, height=%u, left=%d, top=%d, parent=%p\n",
|
||||
class_name, hwnd, size.right, size.bottom, pos.left, pos.top, parent);
|
||||
//TRACE("util_enum_child_proc class=%s, hwnd=%p, width=%u, height=%u, left=%d, top=%d, parent=%p\n",
|
||||
// class_name, hwnd, size.right, size.bottom, pos.left, pos.top, GetParent(hwnd));
|
||||
|
||||
dbg_dump_wnd_styles(style, exstyle);
|
||||
#endif
|
||||
|
||||
if (parent != g_ddraw.hwnd)
|
||||
return TRUE;
|
||||
//dbg_dump_wnd_styles(style, exstyle);
|
||||
|
||||
/* Atrox */
|
||||
if (style == 0x500100C4 && strcmp(class_name, "Edit") == 0)
|
||||
@ -663,7 +657,7 @@ BOOL CALLBACK util_enum_child_proc(HWND hwnd, LPARAM lparam)
|
||||
}
|
||||
}
|
||||
|
||||
return parent == g_ddraw.hwnd ? FALSE : TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static unsigned char util_get_pixel(int x, int y)
|
||||
|
Loading…
x
Reference in New Issue
Block a user