src/hg/hgText/hgText.c 1.172
1.172 2010/05/11 01:43:25 kent
Refactoring to split the trackDb.tableName field into separate track and table fields. Similarly track.mapName field goes to the same track and table fields.
Index: src/hg/hgText/hgText.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgText/hgText.c,v
retrieving revision 1.171
retrieving revision 1.172
diff -b -B -U 4 -r1.171 -r1.172
--- src/hg/hgText/hgText.c 3 Sep 2008 19:18:59 -0000 1.171
+++ src/hg/hgText/hgText.c 11 May 2010 01:43:25 -0000 1.172
@@ -587,13 +587,13 @@
for (t = trackList, i=1; t != NULL; t = t->next, ++i)
{
trackLabels[i] = t->shortLabel;
safef(chrN_track, sizeof(chrN_track), "%s_%s", hDefaultChrom(),
- t->tableName);
+ t->table);
if (hTableExists(chrN_track))
- safef(tbl, sizeof(tbl), "%s.chrN_%s", database, t->tableName);
+ safef(tbl, sizeof(tbl), "%s.chrN_%s", database, t->table);
else
- safef(tbl, sizeof(tbl), "%s.%s", database, t->tableName);
+ safef(tbl, sizeof(tbl), "%s.%s", database, t->table);
trackNames[i] = cloneString(tbl);
if (value != NULL && sameString(value, tbl))
selected = trackNames[i];
}