From 9b04adedbd093b5d0ca40b77ce8c88c10cf1b1c0 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sat, 7 Apr 2012 20:20:25 +0000 Subject: [PATCH] Fix for r.2497 git-svn-id: svn://kolibrios.org@2586 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/taskman.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/core/taskman.inc b/kernel/trunk/core/taskman.inc index 2f72ed746f..6ef7efc326 100644 --- a/kernel/trunk/core/taskman.inc +++ b/kernel/trunk/core/taskman.inc @@ -84,13 +84,15 @@ proc fs_execute pushad + cmp [SCR_MODE], word 0x13 + jbe @f pushad stdcall set_cursor, [def_cursor_clock] mov [handle], eax mov [redrawmouse_unconditional], 1 call __sys_draw_pointer popad - +@@: mov [flags], edx ; [ebp] pointer to filename @@ -261,11 +263,14 @@ end if mov [application_table_status], eax mov eax, esi .final: + cmp [SCR_MODE], word 0x13 + jbe @f pushad stdcall set_cursor, [handle] mov [redrawmouse_unconditional], 1 call __sys_draw_pointer popad +@@: ret endp