kernel: minor optimizations

git-svn-id: svn://kolibrios.org@3588 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2013-06-02 09:36:14 +00:00
parent 8aeeb1b9b0
commit 996be4829b
5 changed files with 29 additions and 32 deletions

View File

@@ -2918,7 +2918,7 @@ sys_getbackground:
jnz nogb1
mov eax, [BgrDataWidth]
shl eax, 16
mov ax, [BgrDataHeight]
mov ax, word [BgrDataHeight]
mov [esp+32], eax
ret
;------------------------------------------------------------------------------