diff options
author | dkf <dkf@noemail.net> | 2005-11-17 10:57:34 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2005-11-17 10:57:34 (GMT) |
commit | 2b01eeecba772490f8267dff8406840460eea975 (patch) | |
tree | 551a8431a7603d8f0d73f739344653f03f7c3a35 /generic/tkGeometry.c | |
parent | 4a105adb0f3fdf87cc722f6ef3533274f6e7bbd4 (diff) | |
download | tk-2b01eeecba772490f8267dff8406840460eea975.zip tk-2b01eeecba772490f8267dff8406840460eea975.tar.gz tk-2b01eeecba772490f8267dff8406840460eea975.tar.bz2 |
Lots of ANSIfying of function decls.
Also a few spots where code has been cleaned up more completely.
FossilOrigin-Name: 2a0a22abb40373f8ef0be9a59e98a390b59ee72f
Diffstat (limited to 'generic/tkGeometry.c')
-rw-r--r-- | generic/tkGeometry.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkGeometry.c b/generic/tkGeometry.c index 46df67e..15c2199 100644 --- a/generic/tkGeometry.c +++ b/generic/tkGeometry.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: tkGeometry.c,v 1.6 2005/09/08 23:52:52 dkf Exp $ + * RCS: @(#) $Id: tkGeometry.c,v 1.7 2005/11/17 10:57:35 dkf Exp $ */ #include "tkPort.h" @@ -341,7 +341,7 @@ Tk_MaintainGeometry(slave, master, x, y, width, height) Tcl_HashEntry *hPtr; MaintainMaster *masterPtr; register MaintainSlave *slavePtr; - int new, map; + int isNew, map; Tk_Window ancestor, parent; TkDisplay *dispPtr = ((TkWindow *) master)->dispPtr; @@ -379,8 +379,8 @@ Tk_MaintainGeometry(slave, master, x, y, width, height) parent = Tk_Parent(slave); hPtr = Tcl_CreateHashEntry(&dispPtr->maintainHashTable, - (char *) master, &new); - if (!new) { + (char *) master, &isNew); + if (!isNew) { masterPtr = (MaintainMaster *) Tcl_GetHashValue(hPtr); } else { masterPtr = (MaintainMaster *) ckalloc(sizeof(MaintainMaster)); |