mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +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:
@@ -869,7 +869,7 @@ NtUserSetCursor(
|
||||
pcurNew = UserGetCurIconObject(hCursor);
|
||||
if (!pcurNew)
|
||||
{
|
||||
EngSetLastError(ERROR_INVALID_HANDLE);
|
||||
EngSetLastError(ERROR_INVALID_CURSOR_HANDLE);
|
||||
goto leave;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user