431ca2b29dd35a0ebd83029e95bca9363022a037
braney
Tue Jan 31 17:33:19 2017 -0800
fix some problems with long chrom names and the cyto band track
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 8162e6c..10b136f 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -658,33 +658,33 @@
ideoTrack->loadItems(ideoTrack);
}
limitVisibility(ideoTrack);
/* If hidden don't draw. */
if(ideoTrack->limitedVis == tvHide || !withIdeogram)
doIdeo = FALSE;
}
// TODO use DIV in future (can update entire div at once in hgTracks.js)
//hPrintf("
\n");
// FYI from testing, I see that there is code that inserts warning error messages
// right before ideoMap, so any changes to that name or adding the DIV would require
// updating the warning-insertion target name.
if(doIdeo)
{
- char startBand[16];
- char endBand[16];
- char title[64]; // was 32
+ char startBand[1024];
+ char endBand[1024];
+ char title[1024];
startBand[0] = endBand[0] = '\0';
fillInStartEndBands(ideoTrack, startBand, endBand, sizeof(startBand));
/* Start up client side map. */
if (!psOutput)
hPrintf("