summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2005-08-11 01:55:04 (GMT)
committerdgp <dgp@users.sourceforge.net>2005-08-11 01:55:04 (GMT)
commitbd6c8e72b03112ac34f56fa3a812606903ca58c3 (patch)
tree12ad451d14a39830960984d16ac1b19a9591673b /generic/tkText.c
parentc76b64e4b9353b355397f17e678900732550a513 (diff)
downloadtk-bd6c8e72b03112ac34f56fa3a812606903ca58c3.zip
tk-bd6c8e72b03112ac34f56fa3a812606903ca58c3.tar.gz
tk-bd6c8e72b03112ac34f56fa3a812606903ca58c3.tar.bz2
more errors found by the compiler
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index bb4044b..7034579 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkText.c,v 1.58 2005/08/10 22:02:22 dkf Exp $
+ * RCS: @(#) $Id: tkText.c,v 1.59 2005/08/11 01:55:04 dgp Exp $
*/
#include "default.h"
@@ -2042,7 +2042,7 @@ ConfigureText(interp, textPtr, objc, objv)
&first);
TkTextMakeByteIndex(textPtr->sharedTextPtr->tree, NULL,
TkBTreeNumLines(textPtr->sharedTextPtr->tree, NULL),
- &last);
+ 0, &last);
TkBTreeStartSearch(&first, &last, textPtr->selTagPtr, &search);
if (!TkBTreeCharTagged(&first, textPtr->selTagPtr)
&& !TkBTreeNextTag(&search)) {