/kernel/trunk/gui/window.inc |
---|
1781,17 → 1781,14 |
test eax, eax |
jne rsw_no_address |
mov eax,[CURRENT_TASK] |
shl eax,8 |
mov [eax+SLOT_BASE+APPDATA.wnd_shape],ebx |
mov eax,[current_slot] |
mov [eax+APPDATA.wnd_shape],ebx |
rsw_no_address: |
cmp eax,1 |
jne rsw_no_scale |
mov eax,[CURRENT_TASK] |
shl eax,8 |
mov byte [eax+SLOT_BASE+APPDATA.wnd_shape_scale], bl |
mov eax,[current_slot] |
mov byte [eax+APPDATA.wnd_shape_scale], bl |
rsw_no_scale: |
ret |