hedgewars/uStore.pas
changeset 2672 0f1403bf267a
parent 2671 7e0f88013fe8
child 2674 2fce032f2f95
--- 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);