Skip to content

Commit

Permalink
2003-07-21 Art Haas <ahaas@airmail.net>
Browse files Browse the repository at this point in the history
	* manual/charset.texi (Converting a Character): Fix example code so a
	valid pointer is returned.
  • Loading branch information
Roland McGrath committed Jul 22, 2003
1 parent 7220da7 commit cfba194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/charset.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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;
@}
Expand Down

0 comments on commit cfba194

Please sign in to comment.