diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 20:09:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 20:09:29 (GMT) |
commit | 4327f746e6d9fb22578f2579982865dddcd5711b (patch) | |
tree | 7c4f63c41795347c14b781d88cec86b1ff8d310b /win | |
parent | 13d13e57c3f645065a99ebf3be4bf95d22a7e579 (diff) | |
parent | af691e3f59facc7a2c59c50603a8d2df6d01453e (diff) | |
download | tcl-4327f746e6d9fb22578f2579982865dddcd5711b.zip tcl-4327f746e6d9fb22578f2579982865dddcd5711b.tar.gz tcl-4327f746e6d9fb22578f2579982865dddcd5711b.tar.bz2 |
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!)
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinSerial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c index d343d87..635e978 100644 --- a/win/tclWinSerial.c +++ b/win/tclWinSerial.c @@ -1801,12 +1801,12 @@ SerialSetOptionProc( Tcl_UniChar character = 0; int charLen; - charLen = Tcl_UtfToUniChar(argv[0], &character); + charLen = TclUtfToUniChar(argv[0], &character); if ((character > 0xFF) || argv[0][charLen]) { goto badXchar; } dcb.XonChar = (char) character; - charLen = Tcl_UtfToUniChar(argv[1], &character); + charLen = TclUtfToUniChar(argv[1], &character); if ((character > 0xFF) || argv[1][charLen]) { goto badXchar; } |