Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1078 → Rev 1079

/programs/develop/libraries/libs-dev/libimg/bmp/bmp.asm
102,8 → 102,7
jnz .error
; convert images with <= 8 bpp to 8bpp, other - to 32 bpp
.normal:
xor eax, eax
inc eax ; Image.bpp8
m2m eax, Image.bpp8
cmp [ebx + bmp.Header.info.BitCount], 8
jbe @f
mov al, Image.bpp32
119,8 → 118,7
pushd [ebx + bmp.Header.info.Width]
jmp .create
.old1:
xor eax, eax
inc eax ; Image.bpp8
m2m eax, Image.bpp8
cmp [ebx + bmp.Header.info.OldBitCount], 8
jbe @f
mov al, Image.bpp32