about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--manual/charset.texi2
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;
     @}