diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-09-27 14:20:54 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-09-27 14:20:54 (GMT) |
commit | ff519c460e7cc2818e6c0fdaa9469f6de154659b (patch) | |
tree | 9cafe12f8006fcf8af0f3341b9fc0839de364a51 /generic/tclCmdIL.c | |
parent | dc6408c9113122cbab856c8572215e36c50b0c86 (diff) | |
download | tcl-ff519c460e7cc2818e6c0fdaa9469f6de154659b.zip tcl-ff519c460e7cc2818e6c0fdaa9469f6de154659b.tar.gz tcl-ff519c460e7cc2818e6c0fdaa9469f6de154659b.tar.bz2 |
Missed a (minor) change.
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r-- | generic/tclCmdIL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c index df5dd4c..f144cef 100644 --- a/generic/tclCmdIL.c +++ b/generic/tclCmdIL.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdIL.c,v 1.137.2.5 2008/09/27 14:19:42 dkf Exp $ + * RCS: @(#) $Id: tclCmdIL.c,v 1.137.2.6 2008/09/27 14:20:54 dkf Exp $ */ #include "tclInt.h" @@ -2455,7 +2455,7 @@ Tcl_LrepeatObjCmd( * init value elementCount times. */ - listPtr = Tcl_NewListObj(elementCount*objc, NULL); + listPtr = Tcl_NewListObj(totalElems, NULL); listRepPtr = (List *) listPtr->internalRep.twoPtrValue.ptr1; listRepPtr->elemCount = elementCount*objc; dataArray = &listRepPtr->elements; |