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

Gustaf Neumann neumann@wu-wien.ac.at
Fri, 6 Jul 2001 00:50:04 +0200


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