summaryrefslogtreecommitdiffstats
path: root/generic/tkEvent.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-11-04 11:52:50 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-11-04 11:52:50 (GMT)
commit1a7fe73d9dd7662dc54d12ef4efa9a8cd9a24e7b (patch)
treef9b39a41504a76eb3075f17191b1074763ef6174 /generic/tkEvent.c
parent37c5b1bdef50e5f82c896ce6008b00a9d0e5bc5c (diff)
downloadtk-1a7fe73d9dd7662dc54d12ef4efa9a8cd9a24e7b.zip
tk-1a7fe73d9dd7662dc54d12ef4efa9a8cd9a24e7b.tar.gz
tk-1a7fe73d9dd7662dc54d12ef4efa9a8cd9a24e7b.tar.bz2
ANSIfy
Diffstat (limited to 'generic/tkEvent.c')
-rw-r--r--generic/tkEvent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkEvent.c b/generic/tkEvent.c
index ceffd0a..b9527f3 100644
--- a/generic/tkEvent.c
+++ b/generic/tkEvent.c
@@ -1,4 +1,4 @@
-/*
+/*
* tkEvent.c --
*
* This file provides basic low-level facilities for managing X events in
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkEvent.c,v 1.30 2005/09/28 18:31:57 dgp Exp $
+ * RCS: @(#) $Id: tkEvent.c,v 1.31 2005/11/04 11:52:50 dkf Exp $
*/
#include "tkPort.h"
@@ -1290,7 +1290,7 @@ Tk_HandleEvent(
TkWindow *winPtr;
unsigned long mask;
InProgress ip;
- Tcl_Interp *interp = (Tcl_Interp *) NULL;
+ Tcl_Interp *interp = NULL;
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
@@ -1431,7 +1431,7 @@ Tk_HandleEvent(
*/
releaseInterpreter:
- if (interp != (Tcl_Interp *) NULL) {
+ if (interp != NULL) {
Tcl_Release((ClientData) interp);
}