From: Eric W. <war...@us...> - 2001-09-22 10:36:33
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv13960 Modified Files: gtkimhtml.c Log Message: this renders selection better. i still need to rewrite the parser though. parsing for smileys is currently the most expensive thing but the rest of the parser could use some work (parsing tags twice is not good). Index: gtkimhtml.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkimhtml.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- gtkimhtml.c 2001/09/21 01:58:44 1.50 +++ gtkimhtml.c 2001/09/22 10:36:29 1.51 @@ -771,7 +771,7 @@ draw_img (imhtml, chunk); else if ((bit->type == TYPE_SEP) && (bit->chunks->data == chunk)) draw_line (imhtml, chunk); - else + else if (chunk->width) draw_text (imhtml, chunk); } @@ -1017,7 +1017,7 @@ draw_img (imhtml, chunk); else if ((bit->type == TYPE_SEP) && (bit->chunks->data == chunk)) draw_line (imhtml, chunk); - else + else if (chunk->width) draw_text (imhtml, chunk); redraw = FALSE; } @@ -1059,7 +1059,7 @@ else if ((bit->type == TYPE_SEP) && (bit->chunks->data == chunk)) draw_line (imhtml, chunk); - else + else if (chunk->width) draw_text (imhtml, chunk); } } |