This is an automated email from the git hooks/post-receive script. ben pushed a commit to branch master in repository autocomplete.
commit d3bbf001a305cbc788fbcf70f8966d79fb5f37b0 Author: Steve Upton <[email protected]> Date: Wed May 23 14:00:31 2012 +0000 Fix Arithmethtic divide by 0 exception --- .../fife/ui/autocomplete/ParameterizedCompletionChoicesWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/fife/ui/autocomplete/ParameterizedCompletionChoicesWindow.java b/src/org/fife/ui/autocomplete/ParameterizedCompletionChoicesWindow.java index b62036b..cd553cf 100644 --- a/src/org/fife/ui/autocomplete/ParameterizedCompletionChoicesWindow.java +++ b/src/org/fife/ui/autocomplete/ParameterizedCompletionChoicesWindow.java @@ -137,7 +137,7 @@ public class ParameterizedCompletionChoicesWindow extends JWindow { public void incSelection(int amount) { int selection = list.getSelectedIndex(); selection += amount; - if (selection<0) { + if (selection<=0) { // Account for nothing selected yet selection = model.getSize()-1;//+= model.getSize(); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/autocomplete.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

