瀏覽代碼

Android: remove tabs/indent

Sylvain Becker 6 年之前
父節點
當前提交
7f9016f265
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      android-project/app/src/main/java/org/libsdl/app/SDLActivity.java

+ 3 - 4
android-project/app/src/main/java/org/libsdl/app/SDLActivity.java

@@ -1825,10 +1825,9 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
 
         if (source == InputDevice.SOURCE_UNKNOWN) {
             InputDevice device = InputDevice.getDevice(deviceId);
-			if ( device != null )
-			{
-				source = device.getSources();
-			}
+            if (device != null) {
+                source = device.getSources();
+            }
         }
 
         if ((source & InputDevice.SOURCE_KEYBOARD) != 0) {