1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-12-04 14:46:45 -05:00

Minor fix: we don't use mbrtowc() in our program

This commit is contained in:
John Zaitseff 2011-08-20 15:49:19 +10:00
parent a4cc805a65
commit cf944c58f6

View File

@ -364,7 +364,7 @@ extern wchar_t *xwcsdup (const wchar_t *str);
Returns: size_t - Number of characters placed in dest (excluding NUL) Returns: size_t - Number of characters placed in dest (excluding NUL)
This wrapper function converts a multibyte string to a wide-character 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 converted. If any illegal sequences are present, they are converted to
the EILSEQ_REPL character. If the destination buffer is too small, the the EILSEQ_REPL character. If the destination buffer is too small, the
string is truncated. string is truncated.