midpath: Fix malformed sdl-fixes.patch.
authorAlex Ferguson <thoughtmonster@gmail.com>
Wed, 19 Jan 2011 16:52:38 +0000 (18:52 +0200)
committerKristoffer Ericson <kristoffer.ericson@gmail.com>
Wed, 19 Jan 2011 17:08:47 +0000 (18:08 +0100)
Regenerated and replaced sdl-fixes.patch, which was malformed
and did not apply. This one should work.

Signed-off-by: Alex Ferguson <thoughtmonster@gmail.com>
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
recipes/midpath/files/sdl-fixes.patch

index f694d42..e8cfcb2 100644 (file)
@@ -1,6 +1,6 @@
 diff -ru midpath-0.3rc2.orig/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java midpath-0.3rc2/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java
 --- midpath-0.3rc2.orig/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java       2008-09-02 03:03:19.000000000 +0300
-+++ midpath-0.3rc2/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java    2010-12-21 18:58:05.890000957 +0200
++++ midpath-0.3rc2/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java    2010-12-24 13:00:38.313333419 +0200
 @@ -119,6 +119,7 @@
  
          try {
@@ -14,7 +14,7 @@ diff -ru midpath-0.3rc2.orig/components/microbackend/org/thenesis/microbackend/u
              try {
                  SDLEvent.enableUNICODE(1);
 +                SDLEvent.enableKeyRepeat(SDLEvent.SDL_DEFAULT_REPEAT_DELAY,
-+                      SDLEvent.SDL_DEFAULT_REPEAT_INTERVAL);
++                       SDLEvent.SDL_DEFAULT_REPEAT_INTERVAL);
                  while (Thread.currentThread() == thread) {
                      processEvent(SDLEvent.waitEvent(true));
                  }