diff --git a/stepmania/src/SDL_utils.cpp b/stepmania/src/SDL_utils.cpp index e71bc2d352..9b1b59db0c 100644 --- a/stepmania/src/SDL_utils.cpp +++ b/stepmania/src/SDL_utils.cpp @@ -553,6 +553,8 @@ bool mySDL_SaveSurface( SDL_Surface *img, CString file ) return false; SurfaceHeader h; + memset( &h, 0, sizeof(h) ); + h.height = img->h; h.width = img->w; h.pitch = img->pitch;