hedgewars/uStore.pas
changeset 6453 11c578d30bd3
parent 6415 af2047bb4f70
child 6492 71db3c0daa0a
--- a/hedgewars/uStore.pas	Sun Nov 27 19:34:08 2011 +0300
+++ b/hedgewars/uStore.pas	Sun Nov 27 23:13:22 2011 +0300
@@ -413,7 +413,7 @@
         begin
         FreeTexture(SpritesData[ii].Texture);
         SpritesData[ii].Texture:= nil;
-        if (SpritesData[ii].Surface <> nil) and not reload then
+        if (SpritesData[ii].Surface <> nil) and (not reload) then
             begin
             SDL_FreeSurface(SpritesData[ii].Surface);
             SpritesData[ii].Surface:= nil
@@ -955,7 +955,7 @@
     {$IFNDEF DARWIN}ico: PSDL_Surface;{$ENDIF}
     {$IFDEF SDL13}x, y: LongInt;{$ENDIF}
 begin
-    if Length(s) = 0 then cFullScreen:= not cFullScreen
+    if Length(s) = 0 then cFullScreen:= (not cFullScreen)
     else cFullScreen:= s = '1';
 
     AddFileLog('Preparing to change video parameters...');