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:
58f1100
)
Check endRes
author
amwaterhouse
<Andrew Waterhouse>
Wed, 8 Feb 2006 15:25:19 +0000
(15:25 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 8 Feb 2006 15:25:19 +0000
(15:25 +0000)
src/jalview/gui/AnnotationPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationPanel.java
b/src/jalview/gui/AnnotationPanel.java
index
27ac873
..
f30c41c
100755
(executable)
--- a/
src/jalview/gui/AnnotationPanel.java
+++ b/
src/jalview/gui/AnnotationPanel.java
@@
-862,7
+862,7
@@
public class AnnotationPanel extends JPanel implements MouseListener,
case 'E':
\r
g.setColor(SHEET_COLOUR);
\r
\r
- if (row.annotations.length > endRes
\r
+ if (row.annotations[endRes] !=null
\r
&& row.annotations[endRes].secondaryStructure != 'E')
\r
{
\r
g.fillRect(lastSSX[i], y + 4 + iconOffset,
\r