From: amwaterhouse Date: Fri, 28 Jul 2006 13:42:36 +0000 (+0000) Subject: Out by one error on reveal columns X-Git-Tag: Release_2_1~165 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ceb4b099190299eabc27d789777bd5045b6f1ad3;p=jalview.git Out by one error on reveal columns --- diff --git a/src/jalview/datamodel/ColumnSelection.java b/src/jalview/datamodel/ColumnSelection.java index 48f02e7..4f4a510 100644 --- a/src/jalview/datamodel/ColumnSelection.java +++ b/src/jalview/datamodel/ColumnSelection.java @@ -418,7 +418,7 @@ public class ColumnSelection for (int i = 0; i < hiddenColumns.size(); i++) { int[] region = (int[]) hiddenColumns.elementAt(i); - for (int j = region[0]; j < region[1]; j++) + for (int j = region[0]; j < region[1]+1; j++) { addElement(j); }