Fix for r.2497

git-svn-id: svn://kolibrios.org@2586 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-04-07 20:20:25 +00:00
parent 70caf20c58
commit 9b04adedbd

View File

@ -84,13 +84,15 @@ proc fs_execute
pushad pushad
cmp [SCR_MODE], word 0x13
jbe @f
pushad pushad
stdcall set_cursor, [def_cursor_clock] stdcall set_cursor, [def_cursor_clock]
mov [handle], eax mov [handle], eax
mov [redrawmouse_unconditional], 1 mov [redrawmouse_unconditional], 1
call __sys_draw_pointer call __sys_draw_pointer
popad popad
@@:
mov [flags], edx mov [flags], edx
; [ebp] pointer to filename ; [ebp] pointer to filename
@ -261,11 +263,14 @@ end if
mov [application_table_status], eax mov [application_table_status], eax
mov eax, esi mov eax, esi
.final: .final:
cmp [SCR_MODE], word 0x13
jbe @f
pushad pushad
stdcall set_cursor, [handle] stdcall set_cursor, [handle]
mov [redrawmouse_unconditional], 1 mov [redrawmouse_unconditional], 1
call __sys_draw_pointer call __sys_draw_pointer
popad popad
@@:
ret ret
endp endp