summaryrefslogtreecommitdiffstats
path: root/generic/tkTextWind.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2005-10-10 10:36:33 (GMT)
committervincentdarley <vincentdarley@noemail.net>2005-10-10 10:36:33 (GMT)
commit67a44b280ccee773c9a52883d66c1923be51b4ec (patch)
treece21d5eee20f7e5c9a628e238ad0a87a0aaeebad /generic/tkTextWind.c
parented368c699ece45c5607d1203a08bf7e0f3b86ca5 (diff)
downloadtk-67a44b280ccee773c9a52883d66c1923be51b4ec.zip
tk-67a44b280ccee773c9a52883d66c1923be51b4ec.tar.gz
tk-67a44b280ccee773c9a52883d66c1923be51b4ec.tar.bz2
tip256 implementation
FossilOrigin-Name: b26b042c687a34c89798f90861d4035a87ee6212
Diffstat (limited to 'generic/tkTextWind.c')
-rw-r--r--generic/tkTextWind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextWind.c b/generic/tkTextWind.c
index 95dcf03..07c4a26 100644
--- a/generic/tkTextWind.c
+++ b/generic/tkTextWind.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: tkTextWind.c,v 1.14 2004/10/05 01:26:10 hobbs Exp $
+ * RCS: @(#) $Id: tkTextWind.c,v 1.15 2005/10/10 10:36:35 vincentdarley Exp $
*/
#include "tk.h"
@@ -331,7 +331,7 @@ TkTextWindowCmd(textPtr, interp, objc, objv)
TkTextIndex index2;
TkTextIndexForwChars(NULL, &index, 1, &index2, COUNT_INDICES);
- TkBTreeDeleteChars(textPtr->sharedTextPtr->tree, &index, &index2);
+ TkBTreeDeleteIndexRange(textPtr->sharedTextPtr->tree, &index, &index2);
return TCL_ERROR;
}
TkTextInvalidateLineMetrics(textPtr->sharedTextPtr, NULL,