IMG_bmp.c
changeset 118 c5e736a47ad2
parent 117 e613cf987897
child 121 1bf9c0c87374
     1.1 --- a/IMG_bmp.c	Sat Feb 04 20:37:17 2006 +0000
     1.2 +++ b/IMG_bmp.c	Sat Feb 04 22:26:04 2006 +0000
     1.3 @@ -422,6 +422,9 @@
     1.4  	}
     1.5  done:
     1.6  	if ( was_error ) {
     1.7 +		if ( src ) {
     1.8 +			SDL_RWseek(src, fp_offset, SEEK_SET);
     1.9 +		}
    1.10  		if ( surface ) {
    1.11  			SDL_FreeSurface(surface);
    1.12  		}