summaryrefslogtreecommitdiffstats
path: root/generic/tkCursor.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/tkCursor.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/tkCursor.c')
-rw-r--r--generic/tkCursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCursor.c b/generic/tkCursor.c
index 8d46854..047834d 100644
--- a/generic/tkCursor.c
+++ b/generic/tkCursor.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: tkCursor.c,v 1.20 2008/10/15 06:41:06 nijtmans Exp $
+ * RCS: @(#) $Id: tkCursor.c,v 1.21 2008/11/08 18:44:39 dkf Exp $
*/
#include "tkInt.h"
@@ -760,7 +760,7 @@ InitCursorObj(
Tcl_GetString(objPtr);
typePtr = objPtr->typePtr;
if ((typePtr != NULL) && (typePtr->freeIntRepProc != NULL)) {
- (*typePtr->freeIntRepProc)(objPtr);
+ typePtr->freeIntRepProc(objPtr);
}
objPtr->typePtr = &tkCursorObjType;
objPtr->internalRep.twoPtrValue.ptr1 = NULL;