From e588028667ea7c02f015c9ecc2be2f811e3d761b Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 14 Jun 2005 15:57:56 +0000 Subject: [PATCH] pad-1 gaps fixed. --- src/jalview/gui/AlignFrame.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } } -- 1.7.10.2