From 378aed908b7086100261db6b605579d4faf9ab9b Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Mon, 26 Mar 2012 20:11:06 +0000 Subject: [PATCH] Fix for. r. 1067. Using of the CLI command, without pushfd/popfd - It's a Mad, Mad, Mad, Mad World! git-svn-id: svn://kolibrios.org@2508 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/gui/event.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/gui/event.inc b/kernel/trunk/gui/event.inc index cc61336fae..150133b2d0 100644 --- a/kernel/trunk/gui/event.inc +++ b/kernel/trunk/gui/event.inc @@ -381,7 +381,7 @@ align 4 sys_sendwindowmsg: ;; f72 dec ebx jnz .ret ;subfunction==1 ? - ;pushfd ;а нафига? + pushfd cli sub ecx, 2 je .sendkey @@ -402,7 +402,8 @@ sys_sendwindowmsg: ;; f72 mov [KEY_COUNT+1+eax], dl .result: setae byte[esp+32] ;считаем, что исходно: dword[esp+32]==72 -.retf: ;popfd +.retf: + popfd .ret: ret