From: lindenb Date: Fri, 25 Jan 2013 14:29:08 +0000 (+0100) Subject: fix html X-Git-Url: https://git.donarmstrong.com/?p=samtools.git;a=commitdiff_plain;h=9bb4d5955ee0659e53bb80cd6d73668faa4086dc fix html --- diff --git a/bam_tview_html.c b/bam_tview_html.c index 8ab3e8a..f52b4c3 100644 --- a/bam_tview_html.c +++ b/bam_tview_html.c @@ -154,17 +154,16 @@ static int html_drawaln(struct AbstractTview* tv, int tid, int pos) if(x== 0 || ptr->screen[y][x].attributes != ptr->screen[y][x-1].attributes) { int css=0; - + fprintf(ptr->out,"1) fprintf(stderr,"css=%d pow2=%d vs %d\n",css,(1 << (css)),ptr->screen[y][x].attributes); if(( (ptr->screen[y][x].attributes) & (1 << (css)))!=0) { - fprintf(ptr->out," class='tviewc%s%d", + fprintf(ptr->out," class='tviewc%s%d'", (( (ptr->screen[y][x].attributes) & (1 << (UNDERLINE_FLAG)) )!=0?"u":""), css); - fputs("'",ptr->out); break; } ++css;