9789889065a07ff41bfe48362fde4ca9f3f0f9a2 braney Fri Jul 9 17:02:19 2010 -0700 fix problem caused by the fact that now colors have the top bit set so they're negative in an int. diff --git src/hg/hgTracks/pslTrack.c src/hg/hgTracks/pslTrack.c index 3238a91..055947a 100644 --- src/hg/hgTracks/pslTrack.c +++ src/hg/hgTracks/pslTrack.c @@ -49,7 +49,7 @@ struct mrnaFilter *fil; char *type; boolean anyFilter = FALSE; -boolean colorIx = 0; +unsigned colorIx = 0; boolean isExclude = FALSE; boolean andLogic = TRUE; char query[256]; @@ -182,7 +182,7 @@ if (passed ^ isExclude) { slAddHead(&newList, lf); - if (colorIx > 0) + if (colorIx != 0) lf->filterColor = colorIx; } else