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
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-03-26 20:11:06 +00:00
parent ab6cd4fcea
commit 378aed908b

View File

@ -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