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:
25c188b
)
Check bounds of loaded comp
author
amwaterhouse
<Andrew Waterhouse>
Fri, 4 May 2007 13:56:18 +0000
(13:56 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 4 May 2007 13:56:18 +0000
(13:56 +0000)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
16d7bd5
..
48ba7f0
100755
(executable)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-1891,7
+1891,9
@@
public class Jalview2XML
{
if(frames[f] instanceof AppJmol)
{
- if(frames[f].getWidth()==width && frames[f].getHeight()==height)
+ if (frames[f].getX() == x && frames[f].getY() == y
+ && frames[f].getHeight() == height
+ && frames[f].getWidth() == width)
{
comp = frames[f];
break;