hedgewars/uMisc.pas
changeset 4578 f3cf226fad16
parent 4413 46caab3a8f84
child 4812 f924be23ffb4
--- a/hedgewars/uMisc.pas	Mon Dec 20 02:00:22 2010 +0100
+++ b/hedgewars/uMisc.pas	Sun Dec 19 21:06:34 2010 -0500
@@ -122,11 +122,11 @@
 var convertedSurf: PSDL_Surface = nil;
 begin
     if (tmpsurf^.format^.bitsperpixel = 24) or ((tmpsurf^.format^.bitsperpixel = 32) and (tmpsurf^.format^.rshift > tmpsurf^.format^.bshift)) then
-    begin
+        begin
         convertedSurf:= SDL_ConvertSurface(tmpsurf, @conversionFormat, SDL_SWSURFACE);
         SDL_FreeSurface(tmpsurf);
         exit(convertedSurf);
-    end;
+        end;
 
     exit(tmpsurf);
 end;