From: est31 Date: Sat, 14 May 2016 14:46:46 +0000 (+0200) Subject: Fix android build by fixing patch line endings X-Git-Tag: 0.4.14~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b25554c8d7260cdac6551c69900b78e24b0b48eb;p=oweals%2Fminetest.git Fix android build by fixing patch line endings --- diff --git a/build/android/patches/irrlicht-back_button.patch b/build/android/patches/irrlicht-back_button.patch index de567adc0..e17b81347 100644 --- a/build/android/patches/irrlicht-back_button.patch +++ b/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