src/hg/hgTables/bigBed.c 1.2

1.2 2009/03/16 18:23:06 kent
Adding parameter to bedAsDef.
Index: src/hg/hgTables/bigBed.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/bigBed.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/hg/hgTables/bigBed.c	16 Mar 2009 05:08:48 -0000	1.1
+++ src/hg/hgTables/bigBed.c	16 Mar 2009 18:23:06 -0000	1.2
@@ -54,9 +54,9 @@
 
 /* Get description of columns, making it up from BED records if need be. */
 struct asObject *as = bigBedAs(bbi);
 if (as == NULL)
-    as = asParseText(bedAsDef(bbi->definedFieldCount));
+    as = asParseText(bedAsDef(bbi->definedFieldCount, bbi->fieldCount));
 
 
 /* Put up table that describes fields. */
 hTableStart();