34f1ae45061da2d77da0b7fa4a8a7eaae0a9ee44
max
  Fri Jul 19 03:28:30 2024 -0700
increasing buffer size, refs #34136

diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index 29eccb0..14fe5b4 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -1198,31 +1198,31 @@
             hgTracksName(), pos);
     hPrintf("&%s\"", ui->string);
     if (message != NULL)
         mapStatusMessage("%s", message);
     hPrintf("%s>\n", dyStringContents(id));
     }
 dyStringFree(&ui);
 dyStringFree(&id);
 }
 
 void mapBoxToggleVis(struct hvGfx *hvg, int x, int y, int width, int height,
                      struct track *curGroup)
 /* Print out image map rectangle that would invoke this program again.
  * program with the current track expanded. */
 {
-char buf[256];
+char buf[4096];
 if (tdbIsCompositeChild(curGroup->tdb))
     safef(buf, sizeof(buf),"Click to alter the display density of %s and similar subtracks",
           curGroup->shortLabel);
 else if (tdbIsComposite(curGroup->tdb))
     safef(buf, sizeof(buf),"Click to alter the maximum display mode density for all %s subtracks",
           curGroup->shortLabel);
 else
     safef(buf, sizeof(buf),"Click to alter the display density of %s", curGroup->shortLabel);
 
 mapBoxReinvoke(hvg, x, y, width, height, curGroup, TRUE, NULL, 0, 0, buf, NULL);
 }
 
 void mapBoxJumpTo(struct hvGfx *hvg, int x, int y, int width, int height, struct track *track,
 	char *newChrom, long newStart, long newEnd, char *message)
 /* Print out image map rectangle that would invoke this program again