git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2480 include sequenceFeatureStore in createDatasetSequence
[jalview.git]
/
src
/
jalview
/
datamodel
/
AlignmentView.java
diff --git
a/src/jalview/datamodel/AlignmentView.java
b/src/jalview/datamodel/AlignmentView.java
index
9db9f38
..
1e34036
100644
(file)
--- a/
src/jalview/datamodel/AlignmentView.java
+++ b/
src/jalview/datamodel/AlignmentView.java
@@
-970,14
+970,14
@@
public class AlignmentView
if (start < fwidth)
{
viscontigs[nvis] = start;
if (start < fwidth)
{
viscontigs[nvis] = start;
- viscontigs[nvis + 1] = fwidth; // end is inclusive
+ viscontigs[nvis + 1] = fwidth - 1; // end is inclusive
nvis += 2;
}
return viscontigs;
}
else
{
nvis += 2;
}
return viscontigs;
}
else
{
- return new int[] { 0, width };
+ return new int[] { 0, width - 1 };
}
}
}
}