hedgewars/hwengine.pas
changeset 2633 9eb131794a6e
parent 2630 079ef82eac75
child 2647 0e1208e92dfe
--- a/hedgewars/hwengine.pas	Fri Nov 20 22:02:49 2009 +0000
+++ b/hedgewars/hwengine.pas	Fri Nov 20 23:40:24 2009 +0000
@@ -116,7 +116,7 @@
 
 SDL_GL_SwapBuffers();
 {$IFNDEF IPHONEOS}
-//not going to make captures on the iPhone
+// not going to make captures on the iPhone
 if flagMakeCapture then
 	begin
 	flagMakeCapture:= false;
@@ -316,7 +316,7 @@
 
                         WriteLnToConsole('*********************************************       accelerometer');
 			
-			tiltValue:= SDL_JoystickGetAxis(uKeys.theJoystick,≤ 0);
+			tiltValue:= SDL_JoystickGetAxis(uKeys.theJoystick, 0);
 
                         if (CurrentTeam <> nil) then
                         begin
@@ -541,7 +541,7 @@
 for i:= 0 to ParamCount do
 	AddFileLog(inttostr(i) + ': ' + ParamStr(i));
 {$IFDEF IPHONEOS}
-WriteLnToConsole('Saving debug file at: ' + get_documents_path());
+	WriteLnToConsole('Saving debug file at: ' + get_documents_path());
 {$ENDIF}
 {$ENDIF}
 end;
@@ -549,9 +549,9 @@
 /////////////////////////
 procedure ShowMainWindow;
 begin
-if cFullScreen then ParseCommand('fullscr 1', true)
-               else ParseCommand('fullscr 0', true);
-SDL_ShowCursor(0)
+	if cFullScreen then ParseCommand('fullscr 1', true)
+	else ParseCommand('fullscr 0', true);
+	SDL_ShowCursor(0)
 end;
 
 ///////////////