Fixed error in function 47 for client-relative drawing

git-svn-id: svn://kolibrios.org@155 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2006-09-20 15:01:30 +00:00
parent 7f1f402a78
commit 1e0680aa80

View File

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