src/gtkconv.c

changeset 9613
cd81e0c76ec0
parent 9606
f5a6e772fc9f
child 9614
4da9c73665c3
--- a/src/gtkconv.c	Wed Jul 28 05:33:54 2004 +0000
+++ b/src/gtkconv.c	Thu Jul 29 03:11:00 2004 +0000
@@ -5073,7 +5073,7 @@
 	}
 	else {
 		char *new_message = g_memdup(message, length);
-		char *who_escaped = g_markup_escape_text(who, strlen(who));
+		char *who_escaped = (who ? g_markup_escape_text(who, strlen(who)) : g_strdup(""));
 
 		if (flags & GAIM_MESSAGE_WHISPER) {
 			str = g_malloc(1024);

mercurial