From: gmungoc Date: Tue, 6 Jun 2017 10:49:46 +0000 (+0100) Subject: JAL-2526 less stringent test for invalid cursor X-Git-Tag: Release_2_10_3b1~210 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5849c5d65d666d703d622d75624f3a448481493a;p=jalview.git JAL-2526 less stringent test for invalid cursor --- diff --git a/src/jalview/datamodel/Sequence.java b/src/jalview/datamodel/Sequence.java index 8c53482..27a4163 100755 --- a/src/jalview/datamodel/Sequence.java +++ b/src/jalview/datamodel/Sequence.java @@ -840,7 +840,7 @@ public class Sequence extends ASequence implements SequenceI /* * sanity check against range */ - if (curs.columnPosition < 0 || curs.columnPosition >= sequence.length) + if (curs.columnPosition < 0 || curs.columnPosition > sequence.length) { return false; }