Fix android build by fixing patch line endings
authorest31 <MTest31@outlook.com>
Sat, 14 May 2016 14:46:46 +0000 (16:46 +0200)
committerest31 <MTest31@outlook.com>
Sat, 14 May 2016 14:46:46 +0000 (16:46 +0200)
build/android/patches/irrlicht-back_button.patch

index de567adc03f8417f2906c6b855a6502e05a5b1cd..e17b813477d1fead8356345309da0d2d0c9ded78 100644 (file)
@@ -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;\r
+                       }\r
\r
+-                      device->postEventFromUser(event);\r
++                      status = device->postEventFromUser(event);\r
+               }\r
+               break;\r
+               default:\r
 @@ -543,7 +543,7 @@
      KeyMap[1] = KEY_LBUTTON; // AKEYCODE_SOFT_LEFT\r
      KeyMap[2] = KEY_RBUTTON; // AKEYCODE_SOFT_RIGHT\r