summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-19 20:12:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-19 20:12:06 (GMT)
commit886343e50b064acf649c4bdabd7ebbe269249485 (patch)
tree0c01cd4867f5c8ce637ff9f3c95efa305473ae30 /generic/tclStubInit.c
parentd273753223b504a1eb70d83aad730a74d1f95d9a (diff)
downloadtcl-886343e50b064acf649c4bdabd7ebbe269249485.zip
tcl-886343e50b064acf649c4bdabd7ebbe269249485.tar.gz
tcl-886343e50b064acf649c4bdabd7ebbe269249485.tar.bz2
Fix some comments: "upper" -> "high" (when talking about surrogates)
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 3de8de1..690e801 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -282,7 +282,7 @@ Tcl_WinTCharToUtf(
wEnd = (wchar_t *)string + len;
for (w = (wchar_t *)string; w < wEnd; ) {
if (!blen && ((*w & 0xFC00) != 0xDC00)) {
- /* Special case for handling upper surrogates. */
+ /* Special case for handling high surrogates. */
p += Tcl_UniCharToUtf(-1, p);
}
blen = Tcl_UniCharToUtf(*w, p);
@@ -290,7 +290,7 @@ Tcl_WinTCharToUtf(
w++;
}
if (!blen) {
- /* Special case for handling upper surrogates. */
+ /* Special case for handling high surrogates. */
p += Tcl_UniCharToUtf(-1, p);
}
Tcl_DStringSetLength(dsPtr, oldLength + (p - result));