Index: src/hg/hgTracks/switchGear.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/switchGear.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 4 -r1.5 -r1.6
--- src/hg/hgTracks/switchGear.c	14 Oct 2008 19:20:37 -0000	1.5
+++ src/hg/hgTracks/switchGear.c	21 Dec 2009 22:43:35 -0000	1.6
@@ -34,9 +34,9 @@
 lf->tallEnd = tss->chromEnd;
 lf->filterColor = -1;
 lf->orientation = orientFromChar(tss->strand[0]);
 lf->grayIx = grayInRange((int)tss->confScore, 0, 100);
-strncpy(lf->name, tss->name, sizeof(lf->name));
+lf->name = cloneString(tss->name);
 AllocVar(sf);
 sf->start = tss->chromStart;
 sf->end = tss->chromEnd;
 sf->grayIx = lf->grayIx;

