diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2008-09-27 14:20:54 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2008-09-27 14:20:54 (GMT) |
commit | 177dcbc38d0b2ddd8ad9ec10f79c0d423eaffda1 (patch) | |
tree | 9cafe12f8006fcf8af0f3341b9fc0839de364a51 | |
parent | ed1ad41c7997488996aed34a7b2191203b3f4ada (diff) | |
download | tcl-177dcbc38d0b2ddd8ad9ec10f79c0d423eaffda1.zip tcl-177dcbc38d0b2ddd8ad9ec10f79c0d423eaffda1.tar.gz tcl-177dcbc38d0b2ddd8ad9ec10f79c0d423eaffda1.tar.bz2 |
Missed a (minor) change.
-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; |