diff options
Diffstat (limited to 'src/common/server.c')
-rw-r--r-- | src/common/server.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/server.c b/src/common/server.c index a7166876..3aa3c694 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -312,9 +312,11 @@ 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 */ @@ -403,12 +405,15 @@ 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); @@ -416,8 +421,10 @@ server_inline (server *serv, char *line, int len) 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); |