# HG changeset patch # User unc0rr # Date 1314784068 -14400 # Node ID 08944be1d679c7fa1218b4aba9a998a4554438af # Parent 0fec06ac877644df52379d0b21d57d22e82f511d Fix check for darwin or win32. Add debug message. diff -r 0fec06ac8776 -r 08944be1d679 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Wed Aug 31 01:32:12 2011 -0400 +++ b/hedgewars/uStore.pas Wed Aug 31 13:47:48 2011 +0400 @@ -259,7 +259,7 @@ tmpsurf: PSDL_Surface; i: LongInt; begin - +AddFileLog('StoreLoad()'); for fi:= Low(THWFont) to High(THWFont) do with Fontz[fi] do begin @@ -948,7 +948,6 @@ reinit: boolean; {$IFDEF SDL13}x, y: LongInt;{$ENDIF} begin - s:= s; // avoid compiler hint if Length(s) = 0 then cFullScreen:= not cFullScreen else cFullScreen:= s = '1'; @@ -981,7 +980,7 @@ end else begin -{$IFDEF DARWIN | WIN32} +{$IF DEFINED(DARWIN) OR DEFINED(WIN32)} reinit:= true; {$ENDIF} AddFileLog('Freeing old primary surface...');