Index: src/hg/hgTracks/makeItemsTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/makeItemsTrack.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 4 -r1.10 -r1.11
--- src/hg/hgTracks/makeItemsTrack.c	13 Apr 2010 08:42:32 -0000	1.10
+++ src/hg/hgTracks/makeItemsTrack.c	11 May 2010 01:43:28 -0000	1.11
@@ -124,9 +124,9 @@
 struct bed *bedList = NULL;
 struct customTrack *ct = track->customPt;
 char *tableName = ct->dbTableName;
 struct sqlConnection *conn = hAllocConn(CUSTOM_TRASH);
-makeItemsEditOrDelete(track->mapName, conn, tableName);
+makeItemsEditOrDelete(track->track, conn, tableName);
 int rowOffset;
 struct sqlResult *sr = hRangeQuery(conn, tableName, chromName, winStart, winEnd, NULL, &rowOffset);
 char **row;
 while ((row = sqlNextRow(sr)) != NULL)

