git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab222df
)
JAL-2526 less stringent test for invalid cursor
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 6 Jun 2017 10:49:46 +0000
(11:49 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 6 Jun 2017 10:49:46 +0000
(11:49 +0100)
src/jalview/datamodel/Sequence.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Sequence.java
b/src/jalview/datamodel/Sequence.java
index
8c53482
..
27a4163
100755
(executable)
--- 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;
}