src/hg/hgTracks/simpleTracks.c 1.92
1.92 2009/07/17 18:57:52 angie
bugfix for igtcColor: BayGenomics' suffix is BG.
Index: src/hg/hgTracks/simpleTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/simpleTracks.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -b -B -U 4 -r1.91 -r1.92
--- src/hg/hgTracks/simpleTracks.c 17 Jul 2009 18:23:05 -0000 1.91
+++ src/hg/hgTracks/simpleTracks.c 17 Jul 2009 18:57:52 -0000 1.92
@@ -10326,9 +10326,9 @@
if (source == NULL)
return color;
source++;
/* reverse-alphabetical acronym rainbow: */
-if (sameString(source, "HVG"))
+if (sameString(source, "HVG") || sameString(source, "BG"))
color = hvGfxFindColorIx(hvg, 0x99, 0x00, 0xcc); /* purple */
else if (sameString(source, "CMHD"))
color = hvGfxFindColorIx(hvg, 0x00, 0x00, 0xcc); /* dark blue */
else if (sameString(source, "EGTC"))