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:
e3ba63a
)
Null pointer removed
author
amwaterhouse
<Andrew Waterhouse>
Fri, 2 Dec 2005 15:27:54 +0000
(15:27 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 2 Dec 2005 15:27:54 +0000
(15:27 +0000)
src/jalview/appletgui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/SeqPanel.java
b/src/jalview/appletgui/SeqPanel.java
index
7c524ad
..
1bbf15d
100755
(executable)
--- a/
src/jalview/appletgui/SeqPanel.java
+++ b/
src/jalview/appletgui/SeqPanel.java
@@
-509,6
+509,9
@@
public class SeqPanel
oldSeq = seq;
\r
startWrapBlock=wrappedBlock;
\r
\r
+ if(seq==-1)
\r
+ return;
\r
+
\r
SequenceI sequence = (Sequence) av.getAlignment().getSequenceAt(seq);
\r
\r
if (sequence == null || res > sequence.getLength())
\r