libimg:
img.flip.layer fix for images of scanline width less than 4 bytes bmp: check for more InfoHeader types git-svn-id: svn://kolibrios.org@2691 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -884,13 +884,17 @@ endl
|
||||
mov ecx, [scanline_len]
|
||||
push ecx
|
||||
shr ecx, 2
|
||||
@@: mov eax, [esi]
|
||||
@@:
|
||||
dec ecx
|
||||
js @f
|
||||
mov eax, [esi]
|
||||
xchg eax, [edi]
|
||||
mov [esi], eax
|
||||
add esi, 4
|
||||
add edi, 4
|
||||
sub ecx, 1
|
||||
jnz @b
|
||||
jmp @b
|
||||
@@:
|
||||
|
||||
pop ecx
|
||||
and ecx, 3
|
||||
jz .cont_line_vert
|
||||
|
Reference in New Issue
Block a user