forked from KolibriOS/kolibrios
fixed behaviour with too big window sizes broken in rev. 1391
git-svn-id: svn://kolibrios.org@1424 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d6c7f0faca
commit
093a27f7ac
@ -10,11 +10,14 @@
|
||||
|
||||
xor cx, cx
|
||||
mov es, cx
|
||||
inc cx
|
||||
mov di, 0x9080
|
||||
mov byte [es:di-1], cl
|
||||
mov byte [es:di], 80h
|
||||
inc di
|
||||
cmp [preboot_biosdisk], 1
|
||||
jnz bdde
|
||||
mov dl, 80h
|
||||
mov dl, 81h
|
||||
bdds:
|
||||
mov ah, 15h
|
||||
push cx dx di
|
||||
|
@ -1290,14 +1290,19 @@ window._.set_window_box: ;/////////////////////////////////////////////////////
|
||||
add esp, -BOX.sizeof
|
||||
|
||||
mov ebx, esp
|
||||
if WDATA.box
|
||||
lea esi, [edi + WDATA.box]
|
||||
else
|
||||
mov esi, edi ; optimization for WDATA.box = 0
|
||||
end if
|
||||
xchg eax, esi
|
||||
mov ecx, BOX.sizeof
|
||||
call memmove
|
||||
xchg eax, esi
|
||||
xchg ebx, esi
|
||||
call memmove
|
||||
xchg ebx, esi
|
||||
mov eax, ebx
|
||||
mov ebx, esi
|
||||
|
||||
call window._.check_window_position
|
||||
call window._.set_window_clientbox
|
||||
|
Loading…
Reference in New Issue
Block a user