b730ee3a71a63ef58935b6618f22cb6f6a00dcd4 kate Tue May 14 12:48:51 2013 -0700 Fix inaccurate comment found in code review (AH) diff --git src/hg/hgc/peakClusters.c src/hg/hgc/peakClusters.c index 93b6b10..1e59c47 100644 --- src/hg/hgc/peakClusters.c +++ src/hg/hgc/peakClusters.c @@ -347,31 +347,31 @@ webNewSection("Track Description"); printTrackHtml(tdb); cartWebEnd(); hFreeConn(&conn); } struct factorSourceInfo /* Cell type and description */ { struct factorSourceInfo *next; char *name; char *description; }; int factorSourceInfoCmp(const void *va, const void *vb) -/* Compare two factorSourceInfo's, sorting on description field */ +/* Compare two factorSourceInfo's, sorting on name and then description fields */ { static char bufA[64], bufB[64]; const struct factorSourceInfo *a = *((struct factorSourceInfo **)va); const struct factorSourceInfo *b = *((struct factorSourceInfo **)vb); safef(bufA, 64, "%s+%s", a->name, a->description); safef(bufB, 64, "%s+%s", b->name, b->description); return strcmp(bufA, bufB); } void factorSourceAbbreviationTable(struct sqlConnection *conn, char *sourceTable, boolean cellsOnly) /* Print out table of abbreviations. Optionally, extract cell name only (before '+') and uniqify */ { char *label = "Cell Type"; if (!cellsOnly) {