fix cursors in EGA/VGA modes

git-svn-id: svn://kolibrios.org@786 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2008-04-04 14:49:16 +00:00
parent 02fc4154be
commit 8dffd5ba5f

View File

@ -356,6 +356,9 @@ proc load_cursor stdcall, src:dword, flags:dword
endl
xor eax, eax
cmp [create_cursor], eax
je .fail2
mov [handle], eax
cmp word [flags], LOAD_FROM_FILE
jne @F
@ -386,6 +389,7 @@ proc load_cursor stdcall, src:dword, flags:dword
pop ebx
.fail:
mov eax, [handle]
.fail2:
ret
endp