IMG_pnm.c
changeset 451 48116d511e5d
parent 368 8a61842d00ce
child 481 e77ad79ab3e0
equal deleted inserted replaced
450:175c0200df0a 451:48116d511e5d
   234         SDL_RWseek(src, start, RW_SEEK_SET);
   234         SDL_RWseek(src, start, RW_SEEK_SET);
   235         if ( surface ) {
   235         if ( surface ) {
   236             SDL_FreeSurface(surface);
   236             SDL_FreeSurface(surface);
   237             surface = NULL;
   237             surface = NULL;
   238         }
   238         }
   239         IMG_SetError(error);
   239         IMG_SetError("%s", error);
   240     }
   240     }
   241     return(surface);
   241     return(surface);
   242 }
   242 }
   243 
   243 
   244 #else
   244 #else