aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorendolf <[email protected]>2007-08-12 22:38:49 +0000
committerendolf <[email protected]>2007-08-12 22:38:49 +0000
commit871a52545a3873c9ebfce00e7d417d86c60ebfe1 (patch)
treef337307fdd36799d96939ead10afa2697b4f5074
parent8b3b32e103ea810f665d228f5d2d86539feec00b (diff)
Fix a potential Array index out of bounds exception.
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@205 e343933a-64c8-49c5-92b1-88f2ce3e89e8
-rw-r--r--plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java b/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java
index 189747c..a2d1c8d 100644
--- a/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java
+++ b/plugins/linux/src/java/net/java/games/input/LinuxEnvironmentPlugin.java
@@ -256,6 +256,7 @@ public final class LinuxEnvironmentPlugin extends ControllerEnvironment implemen
controllers.add(new LinuxCombinedController((LinuxAbstractController)eventControllers.remove(i), (LinuxJoystickAbstractController)jsControllers.remove(j)));
i--;
j--;
+ break;
}
}
}