From fe21b1410f3a2a0ee756a4b30dbd9ba91434cca3 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 7 Aug 2018 15:43:49 -0400 Subject: Convert input to multibyte before handling --- chat.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 5d9dc1c..8af6e8a 100644 --- a/chat.h +++ b/chat.h @@ -58,11 +58,10 @@ void uiFmt(const wchar_t *format, ...); #endif void handle(char *line); -void input(wchar_t *line); +void input(char *line); void tabTouch(const char *word); void tabRemove(const char *word); void tabReplace(const char *prev, const char *next); -wchar_t *wcssep(wchar_t **stringp, const wchar_t *delim); int vaswprintf(wchar_t **ret, const wchar_t *format, va_list ap); -- cgit 1.4.1