diff options
author | Roland McGrath <roland@gnu.org> | 2003-07-22 20:05:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-07-22 20:05:55 +0000 |
commit | cfba19423d8debbd5ee71ba34235ded0f7181cf7 (patch) | |
tree | 667aa710598f574445821f439e0583742cef2f0f /manual/charset.texi | |
parent | 7220da7c365f30c9e545809b472909cd17e633a1 (diff) | |
download | glibc-cfba19423d8debbd5ee71ba34235ded0f7181cf7.tar glibc-cfba19423d8debbd5ee71ba34235ded0f7181cf7.tar.gz glibc-cfba19423d8debbd5ee71ba34235ded0f7181cf7.tar.bz2 glibc-cfba19423d8debbd5ee71ba34235ded0f7181cf7.zip |
2003-07-21 Art Haas <ahaas@airmail.net>
* manual/charset.texi (Converting a Character): Fix example code so a
valid pointer is returned.
Diffstat (limited to 'manual/charset.texi')
-rw-r--r-- | manual/charset.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/charset.texi b/manual/charset.texi index 2ebde7d275..5063246d61 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -696,7 +696,7 @@ mbstouwcs (const char *s) if (nbytes >= (size_t) -2) /* Invalid input string. */ return NULL; - *result++ = towupper (tmp[0]); + *wcp++ = towupper (tmp[0]); len -= nbytes; s += nbytes; @} |