diff --git a/stepmania/src/SDL_utils.cpp b/stepmania/src/SDL_utils.cpp index 947bf68e6f..956232f969 100644 --- a/stepmania/src/SDL_utils.cpp +++ b/stepmania/src/SDL_utils.cpp @@ -927,7 +927,7 @@ void mySDL_BlitSurface( { /* Duplicate the last row. */ char *srcp = (char *) dst->pixels; - srcp += dst->pitch * height; + srcp += dst->pitch * (height-1); memcpy( srcp + dst->pitch, srcp, dst->pitch ); } }