diff src/html.c @ 4757:c4ebe1a8484b

[gaim-migrate @ 5074] this fixes a bunch of little things, as well as a few big things, plugs a few leaks, and makes the new buddy icon cache stuff much cooler. enjoy! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 14 Mar 2003 01:14:24 +0000
parents d19872836812
children e23a7e166680
line wrap: on
line diff
--- a/src/html.c	Thu Mar 13 23:28:25 2003 +0000
+++ b/src/html.c	Fri Mar 14 01:14:24 2003 +0000
@@ -50,7 +50,8 @@
 	int visible = 1;
 	gchar *text2 = g_strdup(text);
 
-	g_return_val_if_fail(text != NULL, NULL);
+	if(!text)
+		return NULL;
 
 	for (i = 0, j = 0; text2[i]; i++) {
 		if (text2[i] == '<') {