summary refs log tree commit diff stats
path: root/src/common/text.h
diff options
context:
space:
mode:
authorDaniel Atallah <datallah@pidgin.im>2012-10-13 07:06:38 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-13 07:06:38 +0200
commitdbef9c9eb419d756d8e2b7db880467e881d8943d (patch)
treed33772409f02f080ad7d9b6f79668bd7cb944f34 /src/common/text.h
parent902063d932a37e8bcc47df1fdad173a44595ad39 (diff)
Speed up Non-BMP filtering
Diffstat (limited to 'src/common/text.h')
-rw-r--r--src/common/text.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/text.h b/src/common/text.h
index 6d5ac03e..86e3bff0 100644
--- a/src/common/text.h
+++ b/src/common/text.h
@@ -29,8 +29,11 @@ void pevent_make_pntevts (void);
 void text_emit (int index, session *sess, char *a, char *b, char *c, char *d);
 int text_emit_by_name (char *name, session *sess, char *a, char *b, char *c, char *d);
 #ifdef WIN32
+#if 0
 char *text_replace_non_bmp (char *utf8_input, int input_length, glong *output_length);
 #endif
+void text_replace_non_bmp2 (char *utf8_input);
+#endif
 char *text_validate (char **text, int *len);
 int get_stamp_str (char *fmt, time_t tim, char **ret);
 void format_event (session *sess, int index, char **args, char *o, int sizeofo, unsigned int stripcolor_args);