summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-18 21:39:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-18 21:39:16 (GMT)
commitb916fb2e6064a68a3848169f1d6263396112d330 (patch)
tree89be35bb25db2b233d3b2644ab0316f9a107d08c /win
parentf338acabb27d64eddd5ccccd3adf4fdbfbcc94f9 (diff)
parent80272e6e9728da345d243a0af6def26dbc86b255 (diff)
downloadtcl-b916fb2e6064a68a3848169f1d6263396112d330.zip
tcl-b916fb2e6064a68a3848169f1d6263396112d330.tar.gz
tcl-b916fb2e6064a68a3848169f1d6263396112d330.tar.bz2
RFE [http://core.tcl.tk/tk/info/6c0d7aec67|6c0d7aec67]: Better surrogate handling for TCL_UTF_MAX==4. No change when TCL_UTF_MAX==3. (This commit is actually meant for androwish, in order to improve surrogate handling for TCL_UTF_MAX==4)
Diffstat (limited to 'win')
-rw-r--r--win/tclWinPipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index fe0ed2d..4b372a5 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -1479,7 +1479,7 @@ BuildCommandLine(
quote = 1;
} else {
int count;
- Tcl_UniChar ch;
+ Tcl_UniChar ch = 0;
for (start = arg; *start != '\0'; start += count) {
count = TclUtfToUniChar(start, &ch);