forked from KolibriOS/kolibrios
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:
parent
ab6cd4fcea
commit
378aed908b
@ -381,7 +381,7 @@ align 4
|
|||||||
sys_sendwindowmsg: ;; f72
|
sys_sendwindowmsg: ;; f72
|
||||||
dec ebx
|
dec ebx
|
||||||
jnz .ret ;subfunction==1 ?
|
jnz .ret ;subfunction==1 ?
|
||||||
;pushfd ;à íàôèãà?
|
pushfd
|
||||||
cli
|
cli
|
||||||
sub ecx, 2
|
sub ecx, 2
|
||||||
je .sendkey
|
je .sendkey
|
||||||
@ -402,7 +402,8 @@ sys_sendwindowmsg: ;; f72
|
|||||||
mov [KEY_COUNT+1+eax], dl
|
mov [KEY_COUNT+1+eax], dl
|
||||||
.result:
|
.result:
|
||||||
setae byte[esp+32] ;ñ÷èòàåì, ÷òî èñõîäíî: dword[esp+32]==72
|
setae byte[esp+32] ;ñ÷èòàåì, ÷òî èñõîäíî: dword[esp+32]==72
|
||||||
.retf: ;popfd
|
.retf:
|
||||||
|
popfd
|
||||||
.ret:
|
.ret:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user