[Xotcl] re: problem when having both a filter and a Tk callback returning a break

Gustaf Neumann neumann at wu-wien.ac.at
Fri Jul 6 00:50:04 CEST 2001


Dear Catherine,
here comes a quick fix for this.
search for 

FilterDispatch(Tcl_Interp* in, XOTclObject* obj, int objc, Tcl_Obj* CONST 
objv[]) {

in xotcl.c and replace towards the end of this procedure

 if (result != TCL_OK) 
   result = TCL_ERROR
 return result;
}

by 
  if (result >= XOTCL_UNKNOWN)
    result = TCL_ERROR;
    return result;
}

If you have a problem with this, i can place a patched version
of 0.85 on our webserver

best regards
-gustaf
 



More information about the Xotcl mailing list