diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index e3a0e894e0e..343b5dd4705 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -2229,7 +2229,7 @@ NtUserCreateWindowEx(DWORD dwExStyle, else if (! IS_ATOM(ClassName.Buffer)) { SetLastWin32Error(ERROR_INVALID_PARAMETER); - return NULL; + RETURN(NULL); } /* safely copy the window name */