fix build errors resulting from -Wmisleading-indentation

This commit is contained in:
Ozkan Sezer 2022-10-22 18:56:40 +03:00
parent a905a7869f
commit 0e1d19cf68
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitm
if(SDL_MUSTLOCK(shape)) if(SDL_MUSTLOCK(shape))
SDL_LockSurface(shape); SDL_LockSurface(shape);
SDL_memset(bitmap, 0, shape->h * bytes_per_scanline); SDL_memset(bitmap, 0, shape->h * bytes_per_scanline);
for(y = 0;y<shape->h;y++) { for(y = 0;y<shape->h;y++) {
bitmap_scanline = bitmap + y * bytes_per_scanline; bitmap_scanline = bitmap + y * bytes_per_scanline;