mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[WIN32K]
Set correct error value on failure in NtUserSetCursor. Patch by Victor Martinez. svn path=/trunk/; revision=50392
This commit is contained in:
parent
6ecbc52144
commit
fb49d55fda
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ NtUserSetCursor(
|
||||||
pcurNew = UserGetCurIconObject(hCursor);
|
pcurNew = UserGetCurIconObject(hCursor);
|
||||||
if (!pcurNew)
|
if (!pcurNew)
|
||||||
{
|
{
|
||||||
EngSetLastError(ERROR_INVALID_HANDLE);
|
EngSetLastError(ERROR_INVALID_CURSOR_HANDLE);
|
||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue