Libimg: fixed a bug when rotating images smaller than 2 pixels
This commit is contained in:
@@ -1101,6 +1101,8 @@ endl
|
|||||||
|
|
||||||
test [_flip_kind], FLIP_HORIZONTAL
|
test [_flip_kind], FLIP_HORIZONTAL
|
||||||
jz .exit
|
jz .exit
|
||||||
|
cmp dword [ebx + Image.Width], 2
|
||||||
|
jl .exit
|
||||||
|
|
||||||
mov ecx, [ebx + Image.Height]
|
mov ecx, [ebx + Image.Height]
|
||||||
mov eax, [ebx + Image.Type]
|
mov eax, [ebx + Image.Type]
|
||||||
|
Reference in New Issue
Block a user