diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-12 21:38:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-12-12 21:38:46 (GMT) |
commit | db35fe50e94b2e2edd00d34c42c74754cfc5c74d (patch) | |
tree | c703641e635acee7a5f46dda14d9f82b48cdd9cb /generic/tclScan.c | |
parent | 9ef936369ec679944031bc9e5453785edb57641e (diff) | |
download | tcl-db35fe50e94b2e2edd00d34c42c74754cfc5c74d.zip tcl-db35fe50e94b2e2edd00d34c42c74754cfc5c74d.tar.gz tcl-db35fe50e94b2e2edd00d34c42c74754cfc5c74d.tar.bz2 |
Little code tweaks, regarding the use of TCL_UTF_MAX or wchar_t.
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c index 5916137..dea8ffa 100644 --- a/generic/tclScan.c +++ b/generic/tclScan.c @@ -261,11 +261,11 @@ ValidateFormat( Tcl_UniChar ch = 0; int objIndex, xpgSize, nspace = numVars; int *nassign = TclStackAlloc(interp, nspace * sizeof(int)); - char buf[TCL_UTF_MAX + 1] = ""; Tcl_Obj *errorMsg; /* Place to build an error messages. Note that * these are messy operations because we do * not want to use the formatting engine; * we're inside there! */ + char buf[TCL_UTF_MAX + 1] = ""; /* * Initialize an array that records the number of times a variable is |