From cf944c58f6300999a4af06537e0f69b4319f1b89 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Sat, 20 Aug 2011 15:49:19 +1000 Subject: [PATCH] Minor fix: we don't use mbrtowc() in our program --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.h b/src/utils.h index 7f7ada8..49a5c3f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -364,7 +364,7 @@ extern wchar_t *xwcsdup (const wchar_t *str); Returns: size_t - Number of characters placed in dest (excluding NUL) This wrapper function converts a multibyte string to a wide-character - one by calling mbrtowc() continually until the whole string is + one by calling mbsrtowcs() continually until the whole string is converted. If any illegal sequences are present, they are converted to the EILSEQ_REPL character. If the destination buffer is too small, the string is truncated.