Index: vtkTclUtil.cxx =================================================================== RCS file: /cvsroot/VTK/VTK/Common/vtkTclUtil.cxx,v retrieving revision 1.81 diff -r1.81 vtkTclUtil.cxx 364,365c364,366 < sprintf(temps,"vtk bad argument, could not find object named %s\n", name); < Tcl_AppendResult(interp,temps,NULL); --- > Tcl_Obj *resobj = Tcl_NewStringObj ("vtk bad argument, could not find object named ", -1); > Tcl_AppendStringsToObj (resobj, name, (char *) NULL); > Tcl_SetObjResult(interp, resobj); 377,378c378,380 < sprintf(temps,"vtk bad argument, could not find command process for %s.\n", name); < Tcl_AppendResult(interp,temps,NULL); --- > Tcl_Obj *resobj = Tcl_NewStringObj ("vtk bad argument, could not find command process for ", -1); > Tcl_AppendStringsToObj (resobj, name, (char *) NULL); > Tcl_SetObjResult(interp, resobj); 406,407c408,410 < sprintf(temps,"vtk bad argument, type conversion failed for object %s.\nCould not type convert %s which is of type %s, to type %s.\n", name, name, i->result, result_type); < Tcl_AppendResult(interp,temps,NULL); --- > Tcl_Obj *resobj = Tcl_NewStringObj ("vtk bad argument, type conversion failed for object ", -1); > Tcl_AppendStringsToObj (resobj, name, "\nCould not type convert ", name, " which is of type ", i->result, ", to type ", result_type, ".\n", (char *) NULL); > Tcl_SetObjResult(interp, resobj);