e2c9906da091dbfc2aaa55ae0639e820875cf613 braney Thu Oct 6 18:38:46 2011 -0700 fix blue bug #5571 diff --git src/hg/hgc/mafClick.c src/hg/hgc/mafClick.c index 8c84b7c..39337d4 100644 --- src/hg/hgc/mafClick.c +++ src/hg/hgc/mafClick.c @@ -42,31 +42,31 @@ } } else if (islower(c)) { if (isBlue) { fprintf(f, "</span>"); isBlue = FALSE; } } fprintf(f, "%c", c); } } if (isBlue) - fprintf(f, "</FONT>"); + fprintf(f, "</span>"); } void initSummaryLine(char *summaryLine, int size, int val) /* Fill summary line with stars and null terminate */ { int i; for (i = 0; i < size; i++) summaryLine[i] = val; summaryLine[i] = 0; } void updateSummaryLine(char *summaryLine, char *referenceText, char *alignText, int size) /* Blank out columns in the summary line where this alignment * differs from the reference */ @@ -825,31 +825,31 @@ if (isProtein) { if (c != '-') { c=lookupCodon(s+(long)(i-offset%3)); /* bypass the first partial codon */ if ((i == 0) && (c == 'X')) c= ' '; if ((i == (size-1)) && (c == 'X')) c= ' '; } } fprintf(f, "%c", c); } } if (isBlue) - fprintf(f, "</FONT>"); + fprintf(f, "</span>"); } void mafPrettyOutGsid(FILE *f, struct mafAli *maf, int lineSize, boolean onlyDiff, int blockNo, boolean isProtein, int mafOrig) { int ii, ch; int srcChars = 0; struct mafComp *mc; int lineStart, lineEnd; char *summaryLine = needMem(lineSize+1); char *referenceText; int startChars, sizeChars, srcSizeChars; boolean haveInserts = FALSE; struct mafComp *masterMc = maf->components;