f49f0a43c7fd61d81663b702c1013015dbb4fca8 tdreszer Tue Feb 8 13:03:47 2011 -0800 Youch, houd did that get checked in. diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 2d55f1f..acb7594 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -3330,31 +3330,31 @@ // chip the color off the end of value name color = strchr(val->name,'{'); if (color == NULL && filterBy->colorFollows) { warn("Using filterBy but only some values contain colors in form of value{#color} or value|label{#color}."); filterBy->colorFollows = FALSE; break; } else if (color != NULL && filterBy->colorFollows) { assert(*(color + 1) == '#'); *color++ = 0; // The color is found inside the filters->svValues as the next string beyond value or label color = strchr(val->name,'}'); // There could be a closing '}' if (color != NULL) *color = 0; - { + } // now chip the label off the end of value name char * lab =strchr(val->name,'|'); if (lab == NULL && filterBy->valueAndLabel) { warn("Using filterBy but only some values contain labels in form of value|label."); filterBy->valueAndLabel = FALSE; break; } if (lab != NULL && filterBy->valueAndLabel) { *lab++ = 0; // The label is found inside the filters->svValues as the next string strSwapChar(lab,'_',' '); // Title does not have underscores } }