IMG_jpg.c
changeset 233 fd5471011130
parent 230 3766fc378624
child 236 cce1251de477
     1.1 --- a/IMG_jpg.c	Thu Oct 29 04:24:39 2009 +0000
     1.2 +++ b/IMG_jpg.c	Sun Nov 08 15:53:24 2009 +0000
     1.3 @@ -379,7 +379,7 @@
     1.4  	}
     1.5  	start = SDL_RWtell(src);
     1.6  
     1.7 -	if ( IMG_Init(IMG_INIT_JPG) < 0 ) {
     1.8 +	if ( !IMG_Init(IMG_INIT_JPG) ) {
     1.9  		return NULL;
    1.10  	}
    1.11