diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-09 16:36:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-09-09 16:36:07 (GMT) |
commit | 3f8c736ed8819765dedbcb8dd952ff51a42a47d0 (patch) | |
tree | a1c1c9395525849646aaefad7f9eba95bf628391 /generic/tkWindow.c | |
parent | 2f16771adab3bc9fea293d7c4abfef1305ad2d55 (diff) | |
download | tk-3f8c736ed8819765dedbcb8dd952ff51a42a47d0.zip tk-3f8c736ed8819765dedbcb8dd952ff51a42a47d0.tar.gz tk-3f8c736ed8819765dedbcb8dd952ff51a42a47d0.tar.bz2 |
indenting
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index b812478..75e97b9 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -948,10 +948,6 @@ TkCreateMainWindow( } else { clientData = NULL; } -#if TCL_MAJOR_VERSION < 9 -# define objClientData2 objClientData -# define objProc2 objProc -#endif if ((cmdPtr->flags & SAVEUPDATECMD) && Tcl_GetCommandInfo(interp, cmdPtr->name, &cmdInfo) && cmdInfo.isNativeObjectProc && !cmdInfo.deleteProc) { @@ -960,8 +956,8 @@ TkCreateMainWindow( mainPtr->tclUpdateObjProc2 = cmdInfo.objProc2; } else #endif - if (!cmdInfo.objClientData ) { - mainPtr->tclUpdateObjProc = cmdInfo.objProc; + if (!cmdInfo.objClientData ) { + mainPtr->tclUpdateObjProc = cmdInfo.objProc; } } if (cmdPtr->flags & USEINITPROC) { |