diff options
| -rw-r--r-- | generic/tclUtil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 58e4cd2..a8791c5 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -1740,6 +1740,7 @@ TclTrim( /* Empty strings -> nothing to do */ if ((numBytes == 0) || (numTrim == 0)) { + *trimRight = 0; return 0; } |
