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:
b35507f
)
bugfix for deleted annotation undo
author
jprocter
<Jim Procter>
Fri, 27 Apr 2007 08:51:13 +0000
(08:51 +0000)
committer
jprocter
<Jim Procter>
Fri, 27 Apr 2007 08:51:13 +0000
(08:51 +0000)
src/jalview/commands/EditCommand.java
patch
|
blob
|
history
diff --git
a/src/jalview/commands/EditCommand.java
b/src/jalview/commands/EditCommand.java
index
ce88127
..
cbcc700
100644
(file)
--- a/
src/jalview/commands/EditCommand.java
+++ b/
src/jalview/commands/EditCommand.java
@@
-577,7
+577,7
@@
public class EditCommand
0, temp, 0, copylen); //command.position);
Annotation[] deleted = new Annotation[command.number];
- if (copylen>command.position) {
+ if (copylen>=command.position) {
copylen = Math.min(command.number, annotations[a].annotations.length-command.position);
if (copylen>0)
{