[Scummvm-cvs-logs] scummvm master -> d6a90f610f241b59e63b65088a2acfdd359b1d6d

lordhoto lordhoto at gmail.com
Sat Feb 22 19:51:45 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d6a90f610f ANDROID: Slight formatting fix.


Commit: d6a90f610f241b59e63b65088a2acfdd359b1d6d
    https://github.com/scummvm/scummvm/commit/d6a90f610f241b59e63b65088a2acfdd359b1d6d
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2014-02-22T10:47:15-08:00

Commit Message:
ANDROID: Slight formatting fix.

Changed paths:
    backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java



diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java
index eef5d19..a96bc56 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java
@@ -70,8 +70,8 @@ public class ScummVMEvents implements
 	}
 
 	public boolean onGenericMotionEvent(final MotionEvent e) {
-    	// Make sure we're running on Android 3.1 or higher to use getAxisValue() 
-    	if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) {
+		// Make sure we're running on Android 3.1 or higher to use getAxisValue()
+		if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1) {
 			if((e.getSource() & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) {
 				_scummvm.pushEvent(JE_JOYSTICK, e.getAction(),
 						   (int)(e.getAxisValue(MotionEvent.AXIS_X)*100),
@@ -79,7 +79,7 @@ public class ScummVMEvents implements
 						   0, 0);
 				return true;
 			}
-    	}
+		}
 
 		return false;
 	}






More information about the Scummvm-git-logs mailing list