From ddaeb9ccac02c508e9362f9f757425f5840d749c Mon Sep 17 00:00:00 2001 From: James Tabor Date: Thu, 24 Aug 2017 22:03:01 +0000 Subject: [PATCH] [User32] - Patch by mudhead : If the index is out of range, no error should be set, see CORE-13716. svn path=/trunk/; revision=75661 --- reactos/win32ss/user/user32/windows/defwnd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/win32ss/user/user32/windows/defwnd.c b/reactos/win32ss/user/user32/windows/defwnd.c index 66753cefe44..383c293a26e 100644 --- a/reactos/win32ss/user/user32/windows/defwnd.c +++ b/reactos/win32ss/user/user32/windows/defwnd.c @@ -50,7 +50,6 @@ GetSysColorBrush(int nIndex) return gpsi->ahbrSystem[nIndex]; } - SetLastError(ERROR_INVALID_PARAMETER); return NULL; }