Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
damusss committed Oct 8, 2024
1 parent a2bab10 commit fed0acc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src_c/surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -2409,7 +2409,6 @@ scroll(SDL_Surface *surf, int dx, int dy, int x, int y, int w, int h,
}
if (erase) {
memset(linesrc, 0, span);

// Fix the missing pixel bug
if (dx < 0) {
memset(pastesrc + span + xoffset, 0, -xoffset);
Expand Down

0 comments on commit fed0acc

Please sign in to comment.