From 9bb4d5955ee0659e53bb80cd6d73668faa4086dc Mon Sep 17 00:00:00 2001 From: lindenb Date: Fri, 25 Jan 2013 15:29:08 +0100 Subject: [PATCH] fix html --- bam_tview_html.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.2