fixed small bugs/unproper code
This commit is contained in:
4
macro.c
4
macro.c
@@ -320,7 +320,9 @@ static int ProtectedExec(ClientData clientData, Tcl_Interp *interp,
|
||||
pUnknown->iStack = 0;
|
||||
pUnknown->pInter = pSics;
|
||||
pUnbekannt = pUnknown;
|
||||
Tcl_CreateCommand(pInter,"unknown",SicsUnknownProc,
|
||||
/* the cast before SicsUnknwonProc is to avoid a warning
|
||||
Tcl_CmdProc has a const char instead of char as argument M.Z. */
|
||||
Tcl_CreateCommand(pInter,"unknown",(Tcl_CmdProc *)SicsUnknownProc,
|
||||
pUnknown, UnknownKill);
|
||||
|
||||
/* delete dangers */
|
||||
|
||||
Reference in New Issue
Block a user