hedgewars/CCHandlers.inc
changeset 3426 4ec21c6d6d33
parent 3407 dcc129c4352e
child 3522 156c04c6a3d8
--- a/hedgewars/CCHandlers.inc	Wed May 05 08:01:37 2010 +0000
+++ b/hedgewars/CCHandlers.inc	Wed May 05 15:40:44 2010 +0000
@@ -687,11 +687,11 @@
 {$ENDIF}
 begin
     s:= s; // avoid compiler hint
-    buf[0]:= char(0); // avoid compiler hint
     if Length(s) = 0 then cFullScreen:= not cFullScreen
     else cFullScreen:= s = '1';
 
 {$IFDEF DEBUGFILE}
+    buf[0]:= char(0); // avoid compiler hint
     AddFileLog('Prepare to change video parameters...');
 {$ENDIF}