From 5c26e2d28ac9f6f0b2d95ecf271ed46fbb29fa4a Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 Aug 2006 15:44:36 +0000 Subject: [PATCH] Out by 1 error on show columns --- src/jalview/datamodel/ColumnSelection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.2