mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-04 11:45:09 +00:00
Since the color interpolation requires two pixels in the horizontal and vertical direction to work, 1 pixel wide or high bitmaps would cause a crash when scaling. Fix this by clamping the index into the valid range. Fixes #16047.