src/hg/hgTables/maf.c 1.20

1.20 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/hgTables/maf.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/maf.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -b -B -U 4 -r1.19 -r1.20
--- src/hg/hgTables/maf.c	9 Apr 2010 00:11:44 -0000	1.19
+++ src/hg/hgTables/maf.c	11 May 2010 01:43:25 -0000	1.20
@@ -24,9 +24,9 @@
     return FALSE;
 if (isEmpty(track->type))
     return FALSE;
 
-if (sameString(track->tableName, table))
+if (sameString(track->table, table))
     {
     if (startsWithWord("maf",track->type) || startsWithWord("wigMaf",track->type))
         return TRUE;
     }
@@ -36,9 +36,9 @@
     struct slRef *tdbRef;
     for (tdbRef = tdbRefList; tdbRef != NULL; tdbRef = tdbRef->next)
         {
 	struct trackDb *childTdb = tdbRef->val;
-        if(sameString(childTdb->tableName, table))
+        if(sameString(childTdb->table, table))
             {
             if (startsWithWord("maf",childTdb->type) || startsWithWord("wigMaf",childTdb->type))
                 return TRUE;
             break;