Skip to content

Commit

Permalink
Fix android build by fixing patch line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed May 14, 2016
1 parent b906ed4 commit b25554c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build/android/patches/irrlicht-back_button.patch
@@ -1,14 +1,14 @@
--- irrlicht/source/Irrlicht/Android/CIrrDeviceAndroid.cpp.orig 2015-08-29 15:43:09.000000000 +0300
+++ irrlicht/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2016-05-13 21:36:22.880388505 +0300
@@ -486,7 +486,7 @@
event.KeyInput.Char = 0;
}

- device->postEventFromUser(event);
+ status = device->postEventFromUser(event);
}
break;
default:
event.KeyInput.Char = 0;
}

- device->postEventFromUser(event);
+ status = device->postEventFromUser(event);
}
break;
default:
@@ -543,7 +543,7 @@
KeyMap[1] = KEY_LBUTTON; // AKEYCODE_SOFT_LEFT
KeyMap[2] = KEY_RBUTTON; // AKEYCODE_SOFT_RIGHT
Expand Down

3 comments on commit b25554c

@MoNTE48
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate patches for this :)

@est31
Copy link
Contributor Author

@est31 est31 commented on b25554c May 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah they are horrible.

@Zeno-
Copy link
Contributor

@Zeno- Zeno- commented on b25554c May 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Horrible is not a strong enough word

Please sign in to comment.