diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-10 19:28:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-10 19:28:08 (GMT) |
commit | 0733f232745ac3cc9a3bd4913bd5ffb8b58378a5 (patch) | |
tree | c2825d5f4f6889b70cc3a789c36b53da74eb2668 /tests/README | |
parent | 1102f22c5a663ad68838f182b53a44d159ac090d (diff) | |
download | tcl-0733f232745ac3cc9a3bd4913bd5ffb8b58378a5.zip tcl-0733f232745ac3cc9a3bd4913bd5ffb8b58378a5.tar.gz tcl-0733f232745ac3cc9a3bd4913bd5ffb8b58378a5.tar.bz2 |
Tweak Invalid() function: No need for "return 0" twice in the function.
For start bytes F0-F4, case TCL_UTF_MAX=4, Tcl_UtfToUniChar() reads 3 bytes but only advances 1 byte. So Tcl_UtfCharComplete() must make sure 3 bytes are available, not 1. Adapt Tcl_UtfCharComplete() accordingly. No change for TCL_UTF_MAX=[3|6]
Diffstat (limited to 'tests/README')
0 files changed, 0 insertions, 0 deletions