X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam_tview_html.c;h=f52b4c3c7ae0f3a58d8cb412966f3e7e1cb100d4;hb=607d7a0ab79152be4153fa09861cfa889488f2c7;hp=8ab3e8a3e04ff8de9ebead34d7b0f5a2ca90a18a;hpb=307c147168f7154e3755712797078c513e0b242a;p=samtools.git 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;