Commit 45174bf0 authored by Barry Warsaw's avatar Barry Warsaw

Formatting.

parent 57c14af7
...@@ -5,32 +5,31 @@ ...@@ -5,32 +5,31 @@
int int
Tcl_AppInit (interp) 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) if (Tcl_Init (interp) == TCL_ERROR)
return TCL_ERROR; return TCL_ERROR;
if (Tk_Init (interp) == TCL_ERROR) if (Tk_Init (interp) == TCL_ERROR)
return TCL_ERROR; return TCL_ERROR;
#ifdef WITH_MOREBUTTONS #ifdef WITH_MOREBUTTONS
{ {
extern Tcl_CmdProc studButtonCmd; extern Tcl_CmdProc studButtonCmd;
extern Tcl_CmdProc triButtonCmd; extern Tcl_CmdProc triButtonCmd;
Tcl_CreateCommand(interp, "studbutton", studButtonCmd, Tcl_CreateCommand(interp, "studbutton", studButtonCmd,
(ClientData) main, NULL); (ClientData) main, NULL);
Tcl_CreateCommand(interp, "tributton", triButtonCmd, Tcl_CreateCommand(interp, "tributton", triButtonCmd,
(ClientData) main, NULL); (ClientData) main, NULL);
} }
#endif #endif
#ifdef WITH_XXX #ifdef WITH_XXX
#endif #endif
return TCL_OK;
return TCL_OK;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment