diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index 32e4474f67..9699aa35b0 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -552,7 +552,7 @@ repos_windows: jle .lp3 mov [edi+WDATA.box.width],ebx .lp3: sub ebx,[edi+WDATA.box.width] - mov [esi+WDATA.box.left],ebx + mov [edi+WDATA.box.left],ebx .lp4: mov eax,[edi+WDATA.box.top] add eax,[edi+WDATA.box.height] mov ebx,[0x0000fe04] diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 42f745ccee..33991282da 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -3468,7 +3468,7 @@ calculatebackground: ; background mov edi,display_data ; set os to use all pixels mov eax,0x01010101 - mov ecx,0x1fff00 / 4 + mov ecx,0x15ff00 / 4 rep stosd mov byte [0xFFF0], 0 ; do not draw background!