From b71f84a07f7210c98feebcc06bbddde07a83978f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 13 Dec 2000 10:56:28 +0000 Subject: Update. * manual/message.texi (Using gettextized software): Fix typo. * manual/charset.texi (Converting a Character): Fix mbstouwcs program to compile. Patch by Martin Buchholz . --- manual/charset.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manual/charset.texi') diff --git a/manual/charset.texi b/manual/charset.texi index 227dcc16ea..aaf379dd2b 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -688,8 +688,9 @@ mbstouwcs (const char *s) wchar_t *wcp = result; wchar_t tmp[1]; mbstate_t state; - memset (&state, '\0', sizeof (state)); size_t nbytes; + + memset (&state, '\0', sizeof (state)); while ((nbytes = mbrtowc (tmp, s, len, &state)) > 0) @{ if (nbytes >= (size_t) -2) -- cgit v1.2.1