diff options
author | vincentdarley <vincentdarley@noemail.net> | 2003-11-07 15:36:23 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2003-11-07 15:36:23 (GMT) |
commit | c6cd2f9a4fc2d373e0f98c1bb41d13aeb40796dc (patch) | |
tree | a1d683e81cad5acc063a7a19da19b30cb5e568b6 /generic/tkTextImage.c | |
parent | 4cb5a5ceda3c9fc5ffeab0f0747486b286aaaee2 (diff) | |
download | tk-c6cd2f9a4fc2d373e0f98c1bb41d13aeb40796dc.zip tk-c6cd2f9a4fc2d373e0f98c1bb41d13aeb40796dc.tar.gz tk-c6cd2f9a4fc2d373e0f98c1bb41d13aeb40796dc.tar.bz2 |
better elide tag handling
FossilOrigin-Name: be1a77f9a978fa4147b702f19579c6d62b50c7f6
Diffstat (limited to 'generic/tkTextImage.c')
-rw-r--r-- | generic/tkTextImage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextImage.c b/generic/tkTextImage.c index 35e4138..f086fbd 100644 --- a/generic/tkTextImage.c +++ b/generic/tkTextImage.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTextImage.c,v 1.9 2003/10/31 09:02:11 vincentdarley Exp $ + * RCS: @(#) $Id: tkTextImage.c,v 1.10 2003/11/07 15:36:26 vincentdarley Exp $ */ #include "tk.h" @@ -265,7 +265,7 @@ TkTextImageCmd(textPtr, interp, objc, objv) if (EmbImageConfigure(textPtr, eiPtr, 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; } |