Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 154 → Rev 155

/kernel/trunk/kernel.asm
1406,12 → 1406,12
; 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
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]