changeset 690:16831576f242

[gaim-migrate @ 700] the message can be null committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 16 Aug 2000 00:20:40 +0000
parents 4e3f5d9cacd5
children 104a2659b358
files src/gaimrc.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gaimrc.c	Tue Aug 15 22:36:18 2000 +0000
+++ b/src/gaimrc.c	Wed Aug 16 00:20:40 2000 +0000
@@ -291,7 +291,12 @@
 			b = (struct buddy_pounce *)pnc->data;
 
 			str1 = escape_text2(b->name);
-			str2 = escape_text2(b->message);
+			if (strlen(b->message))
+				str2 = escape_text2(b->message);
+			else {
+				str2 = malloc(1);
+				str2[0] = 0;
+			}
 			popup = b->popup;
 			sendim = b->sendim;