diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-25 12:06:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-25 12:06:07 (GMT) |
commit | 3e06ad2586a8f9d60a4702992e166e9838b436a1 (patch) | |
tree | 726043e949f4e765a119a2237bcce91fa820ffd5 | |
parent | 4b9c60ce47062894652d4db2156a9643a9b80bb2 (diff) | |
parent | 61ab4e7385f66e8fbbfdae5b63d6548c62875ceb (diff) | |
download | tcl-3e06ad2586a8f9d60a4702992e166e9838b436a1.zip tcl-3e06ad2586a8f9d60a4702992e166e9838b436a1.tar.gz tcl-3e06ad2586a8f9d60a4702992e166e9838b436a1.tar.bz2 |
Don't use deprecated Tcl_DStringTrunc any more
-rw-r--r-- | generic/tclTest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c index 835036b..27ee89c 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -1856,7 +1856,7 @@ TestdstringCmd( if (Tcl_GetInt(interp, argv[2], &count) != TCL_OK) { return TCL_ERROR; } - Tcl_DStringTrunc(&dstring, count); + Tcl_DStringSetLength(&dstring, count); } else if (strcmp(argv[1], "start") == 0) { if (argc != 2) { goto wrongNumArgs; |