From 1e0680aa800ee98be49e3f682827efffc572ffe0 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Wed, 20 Sep 2006 15:01:30 +0000 Subject: [PATCH] Fixed error in function 47 for client-relative drawing git-svn-id: svn://kolibrios.org@155 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index cc50f2bc78..d32017f950 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -1406,12 +1406,12 @@ draw_num_text: ; edx length ; edi 1 force - mov edi,[0x3000] - shl edi,8 - add ax,word[edi+0x80000+APPDATA.wnd_clientbox.top] - rol eax,16 - add ax,word[edi+0x80000+APPDATA.wnd_clientbox.left] - rol eax,16 +; mov edi,[0x3000] +; shl edi,8 +; add ax,word[edi+0x80000+APPDATA.wnd_clientbox.top] +; rol eax,16 +; add ax,word[edi+0x80000+APPDATA.wnd_clientbox.left] +; rol eax,16 mov edx,eax mov ecx,65 @@ -1422,8 +1422,10 @@ draw_num_text: push edx ; add window start x & y mov edx,[0x3010] mov ebx,[edx-twdw+WDATA.box.left] + add ebx, [(edx-0x3000)*8+0x80000+APPDATA.wnd_clientbox.left] shl ebx,16 add ebx,[edx-twdw+WDATA.box.top] + add ebx, [(edx-0x3000)*8+0x80000+APPDATA.wnd_clientbox.top] add eax,ebx pop edx mov ebx,[esp+64+32-12+4]