From 637d425e3efcf93beb77e5a186ed34c50a3c8d47 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 15 Dec 2020 00:11:10 +0300 Subject: [PATCH] whitespace. --- Xcode/SDL/SDL.xcodeproj/project.pbxproj | 0 src/joystick/iphoneos/SDL_mfijoystick.m | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 Xcode/SDL/SDL.xcodeproj/project.pbxproj diff --git a/Xcode/SDL/SDL.xcodeproj/project.pbxproj b/Xcode/SDL/SDL.xcodeproj/project.pbxproj old mode 100755 new mode 100644 diff --git a/src/joystick/iphoneos/SDL_mfijoystick.m b/src/joystick/iphoneos/SDL_mfijoystick.m index a9ddc09ca..0c802216a 100644 --- a/src/joystick/iphoneos/SDL_mfijoystick.m +++ b/src/joystick/iphoneos/SDL_mfijoystick.m @@ -1012,7 +1012,7 @@ IOS_MFIJoystickUpdate(SDL_Joystick *joystick) @autoreleasepool { if (@available(macos 11.0, iOS 14.0, tvOS 14.0, *)) { NSError *error; - + if (self->engine == nil) { return SDL_SetError("Haptics engine was stopped"); } @@ -1292,7 +1292,7 @@ IOS_JoystickUpdate(SDL_Joystick *joystick) if (device == NULL) { return; } - + if (device->accelerometer) { IOS_AccelerometerUpdate(joystick); } else if (device->controller) {