Skip to content

Commit

Permalink
clang format pass
Browse files Browse the repository at this point in the history
  • Loading branch information
MyreMylar authored Oct 26, 2023
1 parent 8ce2c20 commit 0cff024
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src_c/rotozoom.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,8 @@ rotozoomSurface(SDL_Surface *src, double angle, double zoom, int smooth)
SDL_FreeSurface(rz_dst);
return NULL;
}
if (PG_SurfaceHasRLE(src) && SDL_SetSurfaceRLE(rz_dst, SDL_TRUE) != 0) {
if (PG_SurfaceHasRLE(src) &&
SDL_SetSurfaceRLE(rz_dst, SDL_TRUE) != 0) {
SDL_FreeSurface(rz_dst);
return NULL;
}
Expand Down Expand Up @@ -647,7 +648,8 @@ rotozoomSurface(SDL_Surface *src, double angle, double zoom, int smooth)
SDL_FreeSurface(rz_dst);
return NULL;
}
if (PG_SurfaceHasRLE(src) && SDL_SetSurfaceRLE(rz_dst, SDL_TRUE) != 0) {
if (PG_SurfaceHasRLE(src) &&
SDL_SetSurfaceRLE(rz_dst, SDL_TRUE) != 0) {
SDL_FreeSurface(rz_dst);
return NULL;
}
Expand Down

0 comments on commit 0cff024

Please sign in to comment.