From: jprocter Date: Tue, 14 Jun 2005 15:57:56 +0000 (+0000) Subject: pad-1 gaps fixed. X-Git-Tag: Release_2_0~37 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e588028667ea7c02f015c9ecc2be2f811e3d761b;p=jalview.git pad-1 gaps fixed. --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index f074277..484b8cd 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -707,7 +707,7 @@ public class AlignFrame HistoryItem.HIDE)); SequenceI current; - int Width = viewport.getAlignment().getWidth() - 1; + int Width = viewport.getAlignment().getWidth(); for (int i = 0; i < viewport.getAlignment().getSequences().size(); i++) @@ -716,7 +716,7 @@ public class AlignFrame if (current.getLength() < Width) { - current.insertCharAt(Width, viewport.getGapCharacter()); + current.insertCharAt(Width-1, viewport.getGapCharacter()); } }