diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-06-08 08:26:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-06-08 08:26:58 (GMT) |
commit | 16f3f234e8500f5f71e4d9321689a8bdf9efc809 (patch) | |
tree | 5d0ad393849e7c2d6b1b88d3f6d413ff2b505f14 /win/tclWinPipe.c | |
parent | 73a3dfdeeabb1a43c73101b4b6a9826f83866b32 (diff) | |
download | tcl-16f3f234e8500f5f71e4d9321689a8bdf9efc809.zip tcl-16f3f234e8500f5f71e4d9321689a8bdf9efc809.tar.gz tcl-16f3f234e8500f5f71e4d9321689a8bdf9efc809.tar.bz2 |
Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r-- | win/tclWinPipe.c | 2 |
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); |