diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-12 09:22:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-12 09:22:32 (GMT) |
commit | 640839dd018408ea244ccdc8cc691359b563070a (patch) | |
tree | 63e6d698654d1bc464fb785fbcd9a0573e31e871 /generic/tclUtf.c | |
parent | 132576b7dd0904b4582ca8078a237da10881b313 (diff) | |
parent | a6ed76df7c2b1d8c8f3296a99023f88fc76c3f04 (diff) | |
download | tcl-640839dd018408ea244ccdc8cc691359b563070a.zip tcl-640839dd018408ea244ccdc8cc691359b563070a.tar.gz tcl-640839dd018408ea244ccdc8cc691359b563070a.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclUtf.c')
-rw-r--r-- | generic/tclUtf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c index 532abab..e882f18 100644 --- a/generic/tclUtf.c +++ b/generic/tclUtf.c @@ -508,8 +508,7 @@ Tcl_UtfToUniChar( * A three-byte-character lead-byte not followed by two trail-bytes * represents itself. */ - } - else if (byte < 0xF5) { + } else if (byte < 0xF5) { if (((src[1] & 0xC0) == 0x80) && ((src[2] & 0xC0) == 0x80) && ((src[3] & 0xC0) == 0x80)) { /* * Four-byte-character lead byte followed by three trail bytes. @@ -604,8 +603,7 @@ Tcl_UtfToChar16( * A three-byte-character lead-byte not followed by two trail-bytes * represents itself. */ - } - else if (byte < 0xF5) { + } else if (byte < 0xF5) { if (((src[1] & 0xC0) == 0x80) && ((src[2] & 0xC0) == 0x80)) { /* * Four-byte-character lead byte followed by at least two trail bytes. |