summaryrefslogtreecommitdiffstats
path: root/generic/tkTextWind.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-11-07 15:36:24 (GMT)
committervincentdarley <vincentdarley>2003-11-07 15:36:24 (GMT)
commiteaebb169c28de071df58bf7c733c719cf4877de2 (patch)
treea1d683e81cad5acc063a7a19da19b30cb5e568b6 /generic/tkTextWind.c
parent72a88aa5cae0b9f4103d5cab3da7085f3f4ada3d (diff)
downloadtk-eaebb169c28de071df58bf7c733c719cf4877de2.zip
tk-eaebb169c28de071df58bf7c733c719cf4877de2.tar.gz
tk-eaebb169c28de071df58bf7c733c719cf4877de2.tar.bz2
better elide tag handling
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 25991ac..dd829a8 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.8 2003/10/31 09:02:12 vincentdarley Exp $
+ * RCS: @(#) $Id: tkTextWind.c,v 1.9 2003/11/07 15:36:27 vincentdarley Exp $
*/
#include "tk.h"
@@ -292,7 +292,7 @@ TkTextWindowCmd(textPtr, interp, objc, objv)
if (EmbWinConfigure(textPtr, ewPtr, objc-4, objv+4) != TCL_OK) {
TkTextIndex index2;
- TkTextIndexForwChars(&index, 1, &index2, COUNT_INDICES);
+ TkTextIndexForwChars(NULL,&index, 1, &index2, COUNT_INDICES);
TkBTreeDeleteChars(&index, &index2);
return TCL_ERROR;
}