changeset 3542:e56b3960ff36

[gaim-migrate @ 3617] jabber set info crash fix from Ka-Hing Cheung (bsponline) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 23 Sep 2002 14:58:06 +0000
parents 593567405d48
children 66412281881e
files src/dialogs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Mon Sep 23 03:31:02 2002 +0000
+++ b/src/dialogs.c	Mon Sep 23 14:58:06 2002 +0000
@@ -5071,7 +5071,7 @@
 		gtk_text_set_editable(GTK_TEXT(mtd->textbox), TRUE);
 		gtk_text_set_word_wrap(GTK_TEXT(mtd->textbox), TRUE);
 		gtk_widget_set_usize(mtd->textbox, 300, 100);
-		gtk_text_insert(GTK_TEXT(mtd->textbox), NULL, NULL, NULL, mtd->text, -1);
+		gtk_text_insert(GTK_TEXT(mtd->textbox), NULL, NULL, NULL, mtd->text?mtd->text:"", -1);
 		gtk_box_pack_start(GTK_BOX (hbox), mtd->textbox, FALSE, FALSE, 0);
 		vscrollbar = gtk_vscrollbar_new (GTK_TEXT(mtd->textbox)->vadj);
 		gtk_box_pack_start(GTK_BOX (hbox), vscrollbar, FALSE, FALSE, 0);