Libimg: fixed a bug when rotating images smaller than 2 pixels
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 49s
Build system / Build (pull_request) Successful in 5m50s

This commit is contained in:
2025-03-19 11:18:09 +02:00
parent 92f9d76f14
commit 944c7ceb08

View File

@@ -1101,6 +1101,8 @@ endl
test [_flip_kind], FLIP_HORIZONTAL
jz .exit
cmp dword [ebx + Image.Width], 2
jl .exit
mov ecx, [ebx + Image.Height]
mov eax, [ebx + Image.Type]