diff options
author | dgp <dgp@users.sourceforge.net> | 2017-06-06 13:48:14 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-06-06 13:48:14 (GMT) |
commit | 9a51ddaa6e245b55bd471afb1797e1a11eecb960 (patch) | |
tree | bc2616ba41b0576c974b5fadc703c0491455ea5d /generic/tclEncoding.c | |
parent | 25084ac51ac8a4669822ee9e36a26cead61ed4e1 (diff) | |
parent | 5667bb5f8ef53deea815e1726501e079c5ce1859 (diff) | |
download | tcl-9a51ddaa6e245b55bd471afb1797e1a11eecb960.zip tcl-9a51ddaa6e245b55bd471afb1797e1a11eecb960.tar.gz tcl-9a51ddaa6e245b55bd471afb1797e1a11eecb960.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r-- | generic/tclEncoding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index e3c986f..10993b5 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -2357,7 +2357,7 @@ UtfToUtfProc( src += 2; } else if (!Tcl_UtfCharComplete(src, srcEnd - src)) { /* - * Always check before using Tcl_UtfToUniChar. Not doing can so + * Always check before using TclUtfToUniChar. Not doing can so * cause it run beyond the endof the buffer! If we happen such an * incomplete char its byts are made to represent themselves. */ @@ -2366,7 +2366,7 @@ UtfToUtfProc( src += 1; dst += Tcl_UniCharToUtf(ch, dst); } else { - src += Tcl_UtfToUniChar(src, &ch); + src += TclUtfToUniChar(src, &ch); dst += Tcl_UniCharToUtf(ch, dst); } } |