# HG changeset patch # User Eric Warmenhoven # Date 1001154989 0 # Node ID dd5f18429dd96cd4011833d602a9d4c96e4a0d7c # Parent 182a4f8b1333a9e108374d3dfc3b693126dacbfc [gaim-migrate @ 2361] 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). committer: Tailor Script diff -r 182a4f8b1333 -r dd5f18429dd9 src/gtkimhtml.c --- a/src/gtkimhtml.c Sat Sep 22 10:08:19 2001 +0000 +++ b/src/gtkimhtml.c Sat Sep 22 10:36:29 2001 +0000 @@ -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); } }