Mercurial > pidgin
comparison src/gtkhtml.c @ 537:d050f88321a1
[gaim-migrate @ 547]
more attempts to avoid segv's
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 27 Jul 2000 18:52:57 +0000 |
parents | c9f994ea5833 |
children | f586c3819574 |
comparison
equal
deleted
inserted
replaced
536:c9f994ea5833 | 537:d050f88321a1 |
---|---|
2364 | 2364 |
2365 if (!hb->newline && compare_types(hb, hb2)) | 2365 if (!hb->newline && compare_types(hb, hb2)) |
2366 { | 2366 { |
2367 str = hb2->text; | 2367 str = hb2->text; |
2368 hb2->text = g_strconcat(hb->text, hb2->text, NULL); | 2368 hb2->text = g_strconcat(hb->text, hb2->text, NULL); |
2369 g_free(str); | 2369 if (str) g_free(str); |
2370 hb2 = NULL; | 2370 hb2 = NULL; |
2371 } | 2371 } |
2372 else if (hb->text) | 2372 else if (hb->text) |
2373 { | 2373 { |
2374 gtk_html_add_text(html, hb->font, hb->fore, hb->back, | 2374 gtk_html_add_text(html, hb->font, hb->fore, hb->back, |