forked from KolibriOS/kolibrios
Fix for r.2536
git-svn-id: svn://kolibrios.org@3462 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2bc923d897
commit
8977965c09
@ -4912,7 +4912,11 @@ syscall_writetext: ; WriteText
|
|||||||
add ebp, [eax-twdw+WDATA.box.top]
|
add ebp, [eax-twdw+WDATA.box.top]
|
||||||
add bp, word[esi+APPDATA.wnd_clientbox.top]
|
add bp, word[esi+APPDATA.wnd_clientbox.top]
|
||||||
pop esi
|
pop esi
|
||||||
|
test ecx, 0x08000000 ; redirect the output to the user area
|
||||||
|
jnz @f
|
||||||
add ebx, ebp
|
add ebx, ebp
|
||||||
|
align 4
|
||||||
|
@@:
|
||||||
mov eax, edi
|
mov eax, edi
|
||||||
test ecx, 0x08000000 ; redirect the output to the user area
|
test ecx, 0x08000000 ; redirect the output to the user area
|
||||||
jnz dtext
|
jnz dtext
|
||||||
|
Loading…
Reference in New Issue
Block a user