summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-20 19:09:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-20 19:09:25 (GMT)
commit6de32c896abb44a00ad7368892924e9c9de5db11 (patch)
tree84c48ab04d658b18e73087ef721199b018140a6a
parenta45eed2a6ca7bc309f76fc2e3f3f410535aaee4e (diff)
downloadtcl-6de32c896abb44a00ad7368892924e9c9de5db11.zip
tcl-6de32c896abb44a00ad7368892924e9c9de5db11.tar.gz
tcl-6de32c896abb44a00ad7368892924e9c9de5db11.tar.bz2
Adapt some comments, which are not correct for Tcl 8.7 any more
-rw-r--r--generic/tcl.h4
-rw-r--r--generic/tclUtf.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 369a894..02ef01e 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -2114,8 +2114,8 @@ typedef struct Tcl_EncodingType {
* The maximum number of bytes that are necessary to represent a single
* Unicode character in UTF-8. The valid values are 3 and 4
* (or perhaps 1 if we want to support a non-unicode enabled core). If 3,
- * then Tcl_UniChar must be 2-bytes in size (UCS-2) (the default). If > 3,
- * then Tcl_UniChar must be 4-bytes in size (UCS-4). At this time UCS-2 mode
+ * then Tcl_UniChar must be 2-bytes in size (UTF-16) (the default). If > 3,
+ * then Tcl_UniChar must be 4-bytes in size (UCS-4). At this time UTF-16 mode
* is the default and recommended mode.
*/
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index 309a344..2eb959e 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -55,7 +55,7 @@
#define UNICODE_SELF 0x80
/*
- * The following structures are used when mapping between Unicode (UCS-2) and
+ * The following structures are used when mapping between Unicode and
* UTF-8.
*/