diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-29 13:14:38 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-29 13:14:38 (GMT) |
commit | 3be2fece8c512c183dfef342274ffb56554f204b (patch) | |
tree | 79c3fc5c63f2e54f95bd80ac9102c00775b7a81a /generic/tclParse.c | |
parent | cf0cf6ad90055ae80f8ed7ec6b87d145d31cfcff (diff) | |
parent | e5726b43396ad7e3356c453ed8ae75c7349e6707 (diff) | |
download | tcl-3be2fece8c512c183dfef342274ffb56554f204b.zip tcl-3be2fece8c512c183dfef342274ffb56554f204b.tar.gz tcl-3be2fece8c512c183dfef342274ffb56554f204b.tar.bz2 |
merge core-8-6-branch
Diffstat (limited to 'generic/tclParse.c')
-rw-r--r-- | generic/tclParse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c index 8a28bf2..5d640dc 100644 --- a/generic/tclParse.c +++ b/generic/tclParse.c @@ -963,13 +963,13 @@ TclParseBackslash( */ if (Tcl_UtfCharComplete(p, numBytes - 1)) { - count = Tcl_UtfToUniChar(p, &unichar) + 1; /* +1 for '\' */ + count = TclUtfToUniChar(p, &unichar) + 1; /* +1 for '\' */ } else { char utfBytes[TCL_UTF_MAX]; memcpy(utfBytes, p, (size_t) (numBytes - 1)); utfBytes[numBytes - 1] = '\0'; - count = Tcl_UtfToUniChar(utfBytes, &unichar) + 1; + count = TclUtfToUniChar(utfBytes, &unichar) + 1; } result = unichar; break; |