summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2008-11-08 18:44:39 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2008-11-08 18:44:39 (GMT)
commit31d4620e114fa6db5a54816620fafe6764b9158a (patch)
tree080187f8a151cf82a630512856d2315e712cedf9 /generic/tkTextIndex.c
parent1f5d1ca2f0758b6b5bdb262b9c1bda0832b585bd (diff)
downloadtk-31d4620e114fa6db5a54816620fafe6764b9158a.zip
tk-31d4620e114fa6db5a54816620fafe6764b9158a.tar.gz
tk-31d4620e114fa6db5a54816620fafe6764b9158a.tar.bz2
Lots of small changes to make code more pretty and C89-like.
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r--generic/tkTextIndex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index b9763d6..b6eba35 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.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: tkTextIndex.c,v 1.31 2008/10/15 06:41:06 nijtmans Exp $
+ * RCS: @(#) $Id: tkTextIndex.c,v 1.32 2008/11/08 18:44:40 dkf Exp $
*/
#include "default.h"
@@ -239,8 +239,8 @@ TkTextGetIndexFromObj(
if (objPtr->bytes == NULL) {
objPtr->typePtr->updateStringProc(objPtr);
}
- if ((objPtr->typePtr->freeIntRepProc) != NULL) {
- (*objPtr->typePtr->freeIntRepProc)(objPtr);
+ if (objPtr->typePtr->freeIntRepProc != NULL) {
+ objPtr->typePtr->freeIntRepProc(objPtr);
}
}