IMG_pcx.c
changeset 236 cce1251de477
parent 216 7714c2bb6302
child 280 ec4ae96c100c
     1.1 --- a/IMG_pcx.c	Sun Nov 08 15:58:44 2009 +0000
     1.2 +++ b/IMG_pcx.c	Sun Nov 08 17:13:36 2009 +0000
     1.3 @@ -82,7 +82,7 @@
     1.4  			is_PCX = 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_PCX);
    1.10  }
    1.11  
    1.12 @@ -250,7 +250,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;