diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-07 09:31:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-07 09:31:32 (GMT) |
commit | 846b23ab0a9dfcfb2675ae37c1451ee573609196 (patch) | |
tree | 6cde4ad53a04e27bc0f7609afb05ffd731baf7ea /tests/if.test | |
parent | c2fa3a3fa94ad6516014f5376cb9d97e8b5550bb (diff) | |
download | tcl-846b23ab0a9dfcfb2675ae37c1451ee573609196.zip tcl-846b23ab0a9dfcfb2675ae37c1451ee573609196.tar.gz tcl-846b23ab0a9dfcfb2675ae37c1451ee573609196.tar.bz2 |
Tighten optimization in Tcl_UtfToUniCharDString(), just as in Tcl_NumUtfChars(). Don't use "-1" in the Tcl_NumUtfChars() calculation, since that raises more questions than it solves, but that's easy to be remedied as well: Juse use >= in stead of > in the comparation. Great idea, Don!
Backport more code formatting from Tcl 8.6 (e.g. use of CONST, which makes no sense any more in c-files)
Diffstat (limited to 'tests/if.test')
0 files changed, 0 insertions, 0 deletions