Restore default cursor before terminating the process.

git-svn-id: svn://kolibrios.org@3493 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-05-03 22:00:44 +00:00
parent 228adbca8a
commit f06345297e

View File

@ -2034,8 +2034,6 @@ restore_default_cursor_before_killing:
@@: @@:
mov [redrawmouse_unconditional], 1 mov [redrawmouse_unconditional], 1
popfd popfd
; call [draw_pointer]
call __sys_draw_pointer
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
iglobal iglobal
@ -3549,6 +3547,13 @@ newct:
cmp cl, byte 4 cmp cl, byte 4
jnz .noterminate jnz .noterminate
.terminate: .terminate:
pushad
mov ecx, eax
shl ecx, 8
add ecx, SLOT_BASE
call restore_default_cursor_before_killing
popad
pushad pushad
call terminate call terminate
popad popad