Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2732 → Rev 2733

/programs/develop/libraries/libs-dev/libimg/bmp/bmp.asm
104,7 → 104,7
jnz .error
; convert images with <= 8 bpp to 8bpp, other - to 32 bpp
.normal:
m2m eax, Image.bpp8
m2m eax, Image.bpp8i
cmp byte [ebx + 14], 8 ; bit count
jbe @f
mov al, Image.bpp32
124,7 → 124,7
pushd [ebx + 4] ;[ebx + bmp.InfoHeader.Width]
jmp .create
.old1:
m2m eax, Image.bpp8
m2m eax, Image.bpp8i
cmp byte [ebx + 10], 8 ; bit count
jbe @f
mov al, Image.bpp32