SourceForge: jubler/jubler: changeset 1037:a2b474e46d45
Fixed so that the max-colour is set to the length of the SubEntry's MarkColors.length, which allows the pink color to work. The default value of 1 clashes with the MarkColors[1] for PINK. development
authorhoang_tran
Fri Oct 23 19:48:50 2009 +0100 (8 weeks ago)
branchdevelopment
changeset 1037a2b474e46d45
parent 1036 b66009ffd596
Fixed so that the max-colour is set to the length of the SubEntry's MarkColors.length, which allows the pink color to work. The default value of 1 clashes with the MarkColors[1] for PINK.
src/com/panayotis/jubler/subs/SubAttribs.java
     1.1 --- a/src/com/panayotis/jubler/subs/SubAttribs.java	Fri Oct 23 19:38:18 2009 +0100
     1.2 +++ b/src/com/panayotis/jubler/subs/SubAttribs.java	Fri Oct 23 19:48:50 2009 +0100
     1.3 @@ -36,7 +36,7 @@
     1.4      private int maxchars;
     1.5      private int maxcolor;
     1.6      
     1.7 -    private static final int DEFAULT_MAXCOLOR = 1;
     1.8 +    private static final int DEFAULT_MAXCOLOR = SubEntry.MarkColors.length;
     1.9      private static final int DEFAULT_MAXCHARS = 40;
    1.10      
    1.11      /** Creates a new instance of SubAttribs */