summaryrefslogtreecommitdiffstats
path: root/tests/winButton.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-23 16:33:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-23 16:33:25 (GMT)
commit811f1574bb3980d57f05b8334bd6d1aecdf4e32e (patch)
tree5c50bc92e0098cc8488749e26c997f058689794a /tests/winButton.test
parentcb689d388a07704cc34424caf91ff48bf6a3953b (diff)
downloadtk-811f1574bb3980d57f05b8334bd6d1aecdf4e32e.zip
tk-811f1574bb3980d57f05b8334bd6d1aecdf4e32e.tar.gz
tk-811f1574bb3980d57f05b8334bd6d1aecdf4e32e.tar.bz2
Fix 3 places where Tcl_UtfToUniChar must be used and not TkUtfToUniChar: numChars/charIndex is counting character indexes here; surrogate-pairs count as 2.
This can cause a miscount when Emoji are pasted in a Text widget.
Diffstat (limited to 'tests/winButton.test')
0 files changed, 0 insertions, 0 deletions