hedgewars/uUtils.pas
changeset 10502 a888e649bea2
parent 10280 762c256552e9
child 10503 b72e3dc97418
--- a/hedgewars/uUtils.pas	Sat Nov 15 09:43:21 2014 -0500
+++ b/hedgewars/uUtils.pas	Sat Nov 15 22:19:38 2014 +0300
@@ -516,7 +516,11 @@
             logfileBase:= 'game';
     end
     else
+        {$IFDEF PAS2C}
         logfileBase:= 'preview';
+        {$ELSE}
+        logfileBase:= 'preview_pas2c';
+        {$ENDIF}
 {$IFDEF USE_VIDEO_RECORDING}
     InitCriticalSection(logMutex);
 {$ENDIF}