X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fcommands%2FRemoveGapColCommand.java;h=3266874685ec52d5048758b7e11317283a9e3de0;hb=4d7f98a6dd54d9863ba449ec79dcd95d25ed863d;hp=490dc4a1d19f0fc1dee44f4e11e10007b91d9ae7;hpb=619cc880371f3228e6a1fb33c6bfb6e7a7e2622c;p=jalview.git diff --git a/src/jalview/commands/RemoveGapColCommand.java b/src/jalview/commands/RemoveGapColCommand.java index 490dc4a..3266874 100644 --- a/src/jalview/commands/RemoveGapColCommand.java +++ b/src/jalview/commands/RemoveGapColCommand.java @@ -88,8 +88,7 @@ public class RemoveGapColCommand extends EditCommand if (!delete && startCol > -1) { this.appendEdit(Action.DELETE_GAP, seqs, startCol - columnsDeleted, - endCol - - startCol, al, false, null); + endCol - startCol, al, false, null); columnsDeleted += (endCol - startCol); startCol = -1; @@ -103,8 +102,7 @@ public class RemoveGapColCommand extends EditCommand // end of the alignment this.appendEdit(Action.DELETE_GAP, seqs, startCol - columnsDeleted, - end - - startCol + 1, al, false, null); + end - startCol + 1, al, false, null); columnsDeleted += (end - startCol + 1); }