diff src/away.c @ 1292:cb84b5c6d9ab

[gaim-migrate @ 1302] Patches from Decklin and "Falling Thanks guys :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Mon, 18 Dec 2000 05:17:58 +0000
parents 83d8b2078f4c
children 868f9c98db13
line wrap: on
line diff
--- a/src/away.c	Mon Dec 18 05:08:46 2000 +0000
+++ b/src/away.c	Mon Dec 18 05:17:58 2000 +0000
@@ -69,26 +69,6 @@
 }
 
 
-/*
- * rcg10312000 This could be more robust, but it works for my current
- *  goal: to remove those annoying <BR> tags.  :)
- */
-static void strncpy_nohtml(gchar * dest, const gchar * src, size_t destsize)
-{
-	gchar *ptr;
-	g_snprintf(dest, destsize, "%s", src);
-
-	while (1) {
-		ptr = strstr(dest, "<BR>");
-		if (ptr == NULL)	/* done? */
-			return;
-
-		/* replace <BR> with a newline. */
-		*ptr = '\n';
-		memmove(ptr + 1, ptr + 4, strlen(ptr + 4) + 1);
-	}
-}
-
 void do_away_message(GtkWidget *w, struct away_message *a)
 {
 	GtkWidget *back;