IMG_pnm.c
changeset 236 cce1251de477
parent 186 5fbbeabf647f
child 280 ec4ae96c100c
     1.1 --- a/IMG_pnm.c	Sun Nov 08 15:58:44 2009 +0000
     1.2 +++ b/IMG_pnm.c	Sun Nov 08 17:13:36 2009 +0000
     1.3 @@ -63,7 +63,7 @@
     1.4  			is_PNM = 1;
     1.5  		}
     1.6  	}
     1.7 -	SDL_RWseek(src, start, SEEK_SET);
     1.8 +	SDL_RWseek(src, start, RW_SEEK_SET);
     1.9  	return(is_PNM);
    1.10  }
    1.11  
    1.12 @@ -232,7 +232,7 @@
    1.13  done:
    1.14  	free(buf);
    1.15  	if(error) {
    1.16 -		SDL_RWseek(src, start, SEEK_SET);
    1.17 +		SDL_RWseek(src, start, RW_SEEK_SET);
    1.18  		if ( surface ) {
    1.19  			SDL_FreeSurface(surface);
    1.20  			surface = NULL;