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>
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 {
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));
}