Fix for r.2430 - guarantee the updating data after f. 18.2 and f. 18.18

git-svn-id: svn://kolibrios.org@2468 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-03-15 16:38:53 +00:00
parent 357566b767
commit 160c847c88

View File

@ -1949,6 +1949,8 @@ sys_end:
;------------------------------------------------------------------------------
align 4
restore_default_cursor_before_killing:
pushfd
cli
mov eax, [def_cursor]
mov [ecx+APPDATA.cursor], eax
@ -1972,6 +1974,7 @@ restore_default_cursor_before_killing:
mov [current_cursor], esi
@@:
mov [redrawmouse_unconditional], 1
popfd
; call [draw_pointer]
call __sys_draw_pointer
ret
@ -2069,6 +2072,8 @@ sysfn_terminate: ; 18.2 = TERMINATE
jne noatsc
and [application_table_status], 0
noatsc:
; for guarantee the updating data
call change_task
noprocessterminate:
ret
;------------------------------------------------------------------------------