From: amwaterhouse Date: Tue, 8 Aug 2006 15:44:36 +0000 (+0000) Subject: Out by 1 error on show columns X-Git-Tag: Release_2_1~144 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5c26e2d28ac9f6f0b2d95ecf271ed46fbb29fa4a;p=jalview.git Out by 1 error on show columns --- diff --git a/src/jalview/datamodel/ColumnSelection.java b/src/jalview/datamodel/ColumnSelection.java index d54bb8d..3421c41 100644 --- a/src/jalview/datamodel/ColumnSelection.java +++ b/src/jalview/datamodel/ColumnSelection.java @@ -435,7 +435,7 @@ public class ColumnSelection int [] region = (int[])hiddenColumns.elementAt(i); if( res == region[0]) { - for (int j = region[0]; j < region[1]; j++) + for (int j = region[0]; j < region[1]+1; j++) { addElement(j); }