diff --git a/reactos/win32ss/user/user32/windows/message.c b/reactos/win32ss/user/user32/windows/message.c index f7c7ccfe90a..4641b134e98 100644 --- a/reactos/win32ss/user/user32/windows/message.c +++ b/reactos/win32ss/user/user32/windows/message.c @@ -1431,7 +1431,7 @@ IntCallWindowProcA(BOOL IsAnsiProc, { MSG AnsiMsg; MSG UnicodeMsg; - ULONG_PTR LowLimit; + //ULONG_PTR LowLimit; BOOL Hook = FALSE, MsgOverride = FALSE, Dialog; LRESULT Result = 0, PreResult = 0; DWORD Data = 0; @@ -1441,14 +1441,14 @@ IntCallWindowProcA(BOOL IsAnsiProc, WARN("IntCallWindowsProcA() called with WndProc = NULL!\n"); return FALSE; } - +#if 0 LowLimit = (ULONG_PTR)NtCurrentTeb()->NtTib.StackLimit; if (((ULONG_PTR)&lParam - LowLimit) < PAGE_SIZE ) { ERR("IntCallWindowsProcA() Exceeded Stack!\n"); return FALSE; } - +#endif if (pWnd) Dialog = (pWnd->fnid == FNID_DIALOG); else