kernel: fix sysfunction 9 GetProcInfo. As the window is created with width+1 and height+1 so the client size has to be bigger respectively
eolite: fix regression git-svn-id: svn://kolibrios.org@8012 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1505,6 +1505,7 @@ window._.set_window_clientbox: ;///////////////////////////////////////////////
|
||||
shl eax, 1
|
||||
neg eax
|
||||
add eax, [ecx + WDATA.box.width]
|
||||
inc eax ;Leency: as window is created width+1 so client the same
|
||||
mov [edi + SLOT_BASE + APPDATA.wnd_clientbox.width], eax
|
||||
|
||||
movzx eax, [ecx + WDATA.fl_wstyle]
|
||||
@@ -1515,6 +1516,7 @@ window._.set_window_clientbox: ;///////////////////////////////////////////////
|
||||
neg eax
|
||||
sub eax, [esp]
|
||||
add eax, [ecx + WDATA.box.height]
|
||||
inc eax ;Leency: as window is created height+1 so client the same
|
||||
mov [edi + SLOT_BASE + APPDATA.wnd_clientbox.height], eax
|
||||
add esp, 4
|
||||
jmp .exit
|
||||
|
Reference in New Issue
Block a user