7 Commits

Author SHA1 Message Date
440d63aade macros.inc: rename area to RECT
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 26s
Build system / Build (pull_request) Successful in 4m53s
2025-03-19 23:43:15 +01:00
c489b72571 macros.inc: replace unused RECT struct with 'area', use it in pipet 2025-03-19 23:43:15 +01:00
daaab58d9c [Apps/Pipet] Fixed broken cyrillic encoding (once again) 2025-03-19 23:43:15 +01:00
83585e9e8d [Apps/Pipet] Proper color fixes for all skins and size optimization 2025-03-19 23:43:15 +01:00
257172445f [Apps/Pipet] Fixed header encoding 2025-03-19 23:43:15 +01:00
9670d67b35 [Apps/Piped] Fixed wrong window colors on some skins 2025-03-19 23:43:15 +01:00
b1a1691b84 Libimg: fixed a bug when rotating images smaller than 2 pixels
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 31s
Build system / Build (pull_request) Successful in 5m17s
2025-03-19 11:37:12 +02:00

View File

@@ -1053,6 +1053,8 @@ endl
test [_flip_kind], FLIP_VERTICAL
jz .dont_flip_vert
cmp dword [ebx + Image.Height], 2
jl .dont_flip_vert
imul eax, ecx
sub eax, [scanline_len]
@@ -1101,6 +1103,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]