From 8977965c09c2d44baf51d218a4d85eceffda7db9 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 9 Apr 2013 18:17:01 +0000 Subject: [PATCH] Fix for r.2536 git-svn-id: svn://kolibrios.org@3462 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 09f72331f3..433d0e1396 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -4912,7 +4912,11 @@ syscall_writetext: ; WriteText add ebp, [eax-twdw+WDATA.box.top] add bp, word[esi+APPDATA.wnd_clientbox.top] pop esi + test ecx, 0x08000000 ; redirect the output to the user area + jnz @f add ebx, ebp +align 4 +@@: mov eax, edi test ecx, 0x08000000 ; redirect the output to the user area jnz dtext