IMG_xv.c
changeset 451 48116d511e5d
parent 368 8a61842d00ce
child 486 7bb8af91e887
equal deleted inserted replaced
450:175c0200df0a 451:48116d511e5d
   141         SDL_RWseek(src, start, RW_SEEK_SET);
   141         SDL_RWseek(src, start, RW_SEEK_SET);
   142         if ( surface ) {
   142         if ( surface ) {
   143             SDL_FreeSurface(surface);
   143             SDL_FreeSurface(surface);
   144             surface = NULL;
   144             surface = NULL;
   145         }
   145         }
   146         IMG_SetError(error);
   146         IMG_SetError("%s", error);
   147     }
   147     }
   148     return surface;
   148     return surface;
   149 }
   149 }
   150 
   150 
   151 #else
   151 #else