summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-03-15 22:00:55 +0100
committerBerke Viktor <bviktor@hexchat.org>2013-03-15 22:00:55 +0100
commit25f8e45b73c8ce685e5591a75ad1b3d69828fde8 (patch)
treec483fa1034e68f518c8df12cd6dd9b7c7a18a6c9 /src/common/server.c
parent16cc178ba0e5642f372efb6a991c1d9501ad6777 (diff)
Get rid of Non-BMP filtering, Pango handles this now
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/common/server.c b/src/common/server.c
index 6ddaa18d..42cae85f 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -313,13 +313,6 @@ server_inline (server *serv, char *line, int len)
 {
 	char *utf_line_allocated = NULL;
 
-#ifdef WIN32
-#if 0
-	char *cleaned_line;
-	int cleaned_len;
-#endif
-#endif
-
 	/* Checks whether we're set to use UTF-8 charset */
 	if (serv->using_irc ||				/* 1. using CP1252/UTF-8 Hybrid */
 		(serv->encoding == NULL && prefs.utf8_locale) || /* OR 2. using system default->UTF-8 */
@@ -406,28 +399,11 @@ server_inline (server *serv, char *line, int len)
 		}
 	}
 
-#ifdef WIN32
-#if 0
-	cleaned_line = text_replace_non_bmp (line, len, &cleaned_len);
-	if (cleaned_line != NULL ) {
-		line = cleaned_line;
-		len = cleaned_len;
-	}
-#endif
-	text_replace_non_bmp2 (line);
-#endif
-
 	fe_add_rawlog (serv, line, len, FALSE);
 
 	/* let proto-irc.c handle it */
 	serv->p_inline (serv, line, len);
 
-#ifdef WIN32
-#if 0
-	g_free (cleaned_line);
-#endif
-#endif
-
 	if (utf_line_allocated != NULL) /* only if a special copy was allocated */
 		g_free (utf_line_allocated);
 }