summaryrefslogtreecommitdiffstats
path: root/generic/tkTextTag.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-12-05 17:19:05 (GMT)
committervincentdarley <vincentdarley>2003-12-05 17:19:05 (GMT)
commit95095f33c96ee93d276125f68a368155248c82f3 (patch)
treeac9a2a3935c2cc5f36e24d0fef108c0e5bb6addc /generic/tkTextTag.c
parent2c4c5f606e4132d559e71e467cd803df38080b32 (diff)
downloadtk-95095f33c96ee93d276125f68a368155248c82f3.zip
tk-95095f33c96ee93d276125f68a368155248c82f3.tar.gz
tk-95095f33c96ee93d276125f68a368155248c82f3.tar.bz2
performance of lines containing 10000+ characters
Diffstat (limited to 'generic/tkTextTag.c')
-rw-r--r--generic/tkTextTag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextTag.c b/generic/tkTextTag.c
index c56b217..3762de9 100644
--- a/generic/tkTextTag.c
+++ b/generic/tkTextTag.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextTag.c,v 1.14 2003/11/15 02:33:51 vincentdarley Exp $
+ * RCS: @(#) $Id: tkTextTag.c,v 1.15 2003/12/05 17:19:06 vincentdarley Exp $
*/
#include "default.h"
@@ -441,7 +441,7 @@ TkTextTagCmd(textPtr, interp, objc, objv)
tagPtr->tabArrayPtr = NULL;
}
if (tagPtr->tabStringPtr != NULL) {
- tagPtr->tabArrayPtr = TkTextGetTabs(interp, textPtr->tkwin,
+ tagPtr->tabArrayPtr = TkTextGetTabs(interp, textPtr,
tagPtr->tabStringPtr);
if (tagPtr->tabArrayPtr == NULL) {
return TCL_ERROR;