--- a/hedgewars/uStore.pas Sun Jan 03 15:40:41 2010 +0000
+++ b/hedgewars/uStore.pas Sun Jan 03 17:23:40 2010 +0000
@@ -353,8 +353,7 @@
{$ENDIF}
AddProgress;
-{$IFNDEF IPHONEOS}
- // remove this ifndef when updating sdl_image
+{$IFDEF SDL_IMAGE_NEWER}
IMG_Quit();
{$ENDIF}
end;
@@ -1170,8 +1169,7 @@
begin
if Step = 0 then
begin
- {$IFNDEF IPHONEOS}
- // remove this ifndef when updating sdl_image
+ {$IFDEF SDL_IMAGE_NEWER}
WriteToConsole('Init SDL_image... ');
SDLTry(IMG_Init(IMG_INIT_PNG) <> 0, true);
WriteLnToConsole(msgOK);