095f3296f125745d0b5f510f125f00825c08c13a angie Wed May 8 07:20:42 2013 -0700 stricter-compiler warning: 'true' and 'false' are not defined on all systems; use our defines 'TRUE' and 'FALSE' diff --git src/hg/hgTracks/pubsTracks.c src/hg/hgTracks/pubsTracks.c index b7430d5..c2ac6da 100644 --- src/hg/hgTracks/pubsTracks.c +++ src/hg/hgTracks/pubsTracks.c @@ -109,42 +109,42 @@ static struct pubsExtra *pubsMakeExtra(struct track* tg, char* articleTable, struct sqlConnection* conn, struct linkedFeatures* lf) /* bad solution: a function that is called before the extra field is * accessed and that fills it from a sql query. Will need to redo this like gencode, * drawing from atom, variome and bedLoadN or bedDetails */ { char query[LARGEBUF]; struct sqlResult *sr = NULL; char **row = NULL; struct pubsExtra *extra = NULL; /* support two different storage places for article data: either the bed table directly * includes the title + author of the article or we have to look it up from the articles * table. Having a copy of the title in the bed table is faster */ -bool newFormat = false; +bool newFormat = FALSE; if (sqlColumnExists(conn, tg->table, "title")) { safef(query, sizeof(query), "SELECT firstAuthor, year, title, impact, classes FROM %s " "WHERE chrom = '%s' and chromStart = '%d' and name='%s'", tg->table, chromName, lf->start, lf->name); - newFormat = true; + newFormat = TRUE; } else { safef(query, sizeof(query), "SELECT firstAuthor, year, title FROM %s WHERE articleId = '%s'", articleTable, lf->name); - newFormat = false; + newFormat = FALSE; } sr = sqlGetResult(conn, query); if ((row = sqlNextRow(sr)) != NULL) { char* firstAuthor = row[0]; char* year = row[1]; char* title = row[2]; char* impact = NULL; char* classes = NULL; extra = needMem(sizeof(struct pubsExtra)); extra->label = pubsFeatureLabel(firstAuthor, year); if (isEmpty(title))