diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-11-08 18:44:39 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-11-08 18:44:39 (GMT) |
commit | 1411b2f26b3d46b402c4774770fb5356cd47ef95 (patch) | |
tree | 080187f8a151cf82a630512856d2315e712cedf9 /generic/tkWindow.c | |
parent | 4f2679372f637fcd2f0d997b9d97165a6b558f12 (diff) | |
download | tk-1411b2f26b3d46b402c4774770fb5356cd47ef95.zip tk-1411b2f26b3d46b402c4774770fb5356cd47ef95.tar.gz tk-1411b2f26b3d46b402c4774770fb5356cd47ef95.tar.bz2 |
Lots of small changes to make code more pretty and C89-like.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 87bb2f7..5e4fabb 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.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: tkWindow.c,v 1.98 2008/10/28 22:33:06 nijtmans Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.99 2008/11/08 18:44:40 dkf Exp $ */ #include "tkInt.h" @@ -1706,7 +1706,7 @@ Tk_MakeWindowExist( createProc = Tk_GetClassProc(winPtr->classProcsPtr, createProc); if (createProc != NULL && parent != None) { - winPtr->window = (*createProc)(tkwin, parent, winPtr->instanceData); + winPtr->window = createProc(tkwin, parent, winPtr->instanceData); } else { winPtr->window = TkpMakeWindow(winPtr, parent); } |