25991b71901c630921e51b8123cadcd04ca97479 braney Tue Feb 27 15:39:02 2018 -0800 fix brain dead bug I introduced with selecting density mode diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 285397d..e789ae9 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -4991,33 +4991,34 @@ printf("
");
return boxed;
}
void cfgEndBox(boolean boxed)
// Handle end of box and title for individual track type settings
{
if (boxed)
puts("");
}
void wigOption(struct cart *cart, char *name, char *title, struct trackDb *tdb)
/* let the user choose to see the track in wiggle mode */
{
printf("
Display data as a density graph: ");
-char varName[1024];
boolean option = cartOrTdbBoolean(cart, tdb, "doWiggle", FALSE);
+char varName[1024];
+safef(varName, sizeof(varName), "%s.doWiggle", name);
cgiMakeCheckBox(varName, option);
printf("
\n");
char *style = option ? "display:block" : "display:none";
printf("