From: Barry Warsaw Date: Tue, 14 Jan 1997 17:36:36 +0000 (+0000) Subject: Formatting. X-Git-Tag: v1.5a1~521 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=845a4c6bb7b1ffd5f98c473914cb558e9795d3cb;p=python Formatting. --- diff --git a/Modules/tkappinit.c b/Modules/tkappinit.c index daff9e56e0..08217604aa 100644 --- a/Modules/tkappinit.c +++ b/Modules/tkappinit.c @@ -5,32 +5,31 @@ int Tcl_AppInit (interp) - Tcl_Interp *interp; + Tcl_Interp *interp; { - Tk_Window main; + Tk_Window main; - main = Tk_MainWindow(interp); + main = Tk_MainWindow(interp); - if (Tcl_Init (interp) == TCL_ERROR) - return TCL_ERROR; - if (Tk_Init (interp) == TCL_ERROR) - return TCL_ERROR; + if (Tcl_Init (interp) == TCL_ERROR) + return TCL_ERROR; + if (Tk_Init (interp) == TCL_ERROR) + return TCL_ERROR; #ifdef WITH_MOREBUTTONS - { - extern Tcl_CmdProc studButtonCmd; - extern Tcl_CmdProc triButtonCmd; - - Tcl_CreateCommand(interp, "studbutton", studButtonCmd, - (ClientData) main, NULL); - Tcl_CreateCommand(interp, "tributton", triButtonCmd, - (ClientData) main, NULL); - } + { + extern Tcl_CmdProc studButtonCmd; + extern Tcl_CmdProc triButtonCmd; + + Tcl_CreateCommand(interp, "studbutton", studButtonCmd, + (ClientData) main, NULL); + Tcl_CreateCommand(interp, "tributton", triButtonCmd, + (ClientData) main, NULL); + } #endif #ifdef WITH_XXX #endif - - return TCL_OK; + return TCL_OK; }