IMG_lbm.c
changeset 451 48116d511e5d
parent 415 1700d607fce3
child 481 e77ad79ab3e0
equal deleted inserted replaced
450:175c0200df0a 451:48116d511e5d
   474         SDL_RWseek(src, start, RW_SEEK_SET);
   474         SDL_RWseek(src, start, RW_SEEK_SET);
   475         if ( Image ) {
   475         if ( Image ) {
   476             SDL_FreeSurface( Image );
   476             SDL_FreeSurface( Image );
   477             Image = NULL;
   477             Image = NULL;
   478         }
   478         }
   479         IMG_SetError( error );
   479         IMG_SetError( "%s", error );
   480     }
   480     }
   481 
   481 
   482     return( Image );
   482     return( Image );
   483 }
   483 }
   484 
   484