Mercurial > pidgin
changeset 896:ced01cdf0e33
[gaim-migrate @ 906]
lalala, i hate segfaults
committer: Tailor Script <tailor@pidgin.im>
author | Todd Kulesza <fflewddur> |
---|---|
date | Wed, 13 Sep 2000 21:04:34 +0000 |
parents | 81a8fb0a565f |
children | b2ce6a6a8633 |
files | src/gtkhtml.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkhtml.c Wed Sep 13 20:28:04 2000 +0000 +++ b/src/gtkhtml.c Wed Sep 13 21:04:34 2000 +0000 @@ -4336,7 +4336,7 @@ hbits = g_list_find(hbits, start); - while (TRUE) + while (hbits) { hbit = hbits->data; if (hbit->font) @@ -4349,5 +4349,8 @@ hbits = hbits->next; } + if (max_height == 0) + max_height = gdk_text_height(hbit->font, "C", 1); + return max_height; }