projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[USER32] Fix SetWindowWord/Long
[reactos.git]
/
win32ss
/
user
/
ntuser
/
window.c
diff --git
a/win32ss/user/ntuser/window.c
b/win32ss/user/ntuser/window.c
index
7bc5786
..
b4ab2d6
100644
(file)
--- a/
win32ss/user/ntuser/window.c
+++ b/
win32ss/user/ntuser/window.c
@@
-4148,7
+4148,7
@@
NtUserSetWindowWord(HWND hWnd, INT Index, WORD NewValue)
if ((ULONG)Index > (Window->cbwndExtra - sizeof(WORD)))
{
- EngSetLastError(ERROR_INVALID_
PARAMETER
);
+ EngSetLastError(ERROR_INVALID_
INDEX
);
RETURN( 0);
}