Fix typo in last change.

This commit is contained in:
Ulrich Drepper 2000-01-20 06:47:45 +00:00
parent cba7603cbf
commit ecb7f73a74
2 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ __mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
else
result = inbuf - (const unsigned char *) s;
}
else if (status == __GCONV_INCOMPLETE_INPUT)
else if (status == GCONV_INCOMPLETE_INPUT)
result = (size_t) -2;
else
{

View File

@ -71,7 +71,7 @@ __mbsrtowcs (dst, src, len, ps)
&data, &inbuf, srcend,
&result, 0);
result += (wchar_t *) data.__outbuf - buf;
result += (wchar_t *) data.outbuf - buf;
}
while (status == GCONV_FULL_OUTPUT);
@ -102,7 +102,7 @@ __mbsrtowcs (dst, src, len, ps)
(const unsigned char **) src,
srcend, &result, 0);
result = (wchar_t *) data.__outbuf - dst;
result = (wchar_t *) data.outbuf - dst;
/* We have to determine whether the last character converted
is the NUL character. */