Alignment editing columns 0 and 1 fixed
[jalview.git] / src / jalview / schemes / ColourSchemeProperty.java
index 1d0f08a..278cf6a 100755 (executable)
@@ -1,6 +1,6 @@
 /*\r
 * Jalview - A Sequence Alignment Editor and Viewer\r
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
 *\r
 * This program is free software; you can redistribute it and/or\r
 * modify it under the terms of the GNU General Public License\r
@@ -375,8 +375,8 @@ public class ColourSchemeProperty
             break;\r
 \r
         case USER_DEFINED:\r
-          Color[] col = new Color[23];\r
-          for (int i = 0; i < 23; i++)\r
+          Color[] col = new Color[24];\r
+          for (int i = 0; i < 24; i++)\r
             col[i] = Color.white;\r
           cs = new UserColourScheme(col);\r
             break;\r