IMG_xcf.c
changeset 451 48116d511e5d
parent 419 e108e1228d62
child 486 7bb8af91e887
equal deleted inserted replaced
450:175c0200df0a 451:48116d511e5d
   816     SDL_RWseek(src, start, RW_SEEK_SET);
   816     SDL_RWseek(src, start, RW_SEEK_SET);
   817     if ( surface ) {
   817     if ( surface ) {
   818       SDL_FreeSurface(surface);
   818       SDL_FreeSurface(surface);
   819       surface = NULL;
   819       surface = NULL;
   820     }
   820     }
   821     IMG_SetError(error);
   821     IMG_SetError("%s", error);
   822   }
   822   }
   823 
   823 
   824   return(surface);
   824   return(surface);
   825 }
   825 }
   826 
   826