forked from KolibriOS/kolibrios
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:
parent
357566b767
commit
160c847c88
@ -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
|
||||
@ -2068,8 +2071,10 @@ sysfn_terminate: ; 18.2 = TERMINATE
|
||||
cmp edx, [application_table_status]; clear app table stat
|
||||
jne noatsc
|
||||
and [application_table_status], 0
|
||||
noatsc:
|
||||
noprocessterminate:
|
||||
noatsc:
|
||||
; for guarantee the updating data
|
||||
call change_task
|
||||
noprocessterminate:
|
||||
ret
|
||||
;------------------------------------------------------------------------------
|
||||
sysfn_terminate2:
|
||||
|
Loading…
Reference in New Issue
Block a user