Skip to content
Snippets Groups Projects
Commit 360cb623 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

added preliminary debugging of c->tk commands

parent 9baaa7d2
No related branches found
No related tags found
No related merge requests found
......@@ -557,6 +557,8 @@ void tcl_mess(char *s)
int result;
char catch_s[strlen(s)+10];
sprintf(catch_s, "catch { %s }", s);
//char catch_s[strlen(s)];
//sprintf(catch_s, "%s", s);
Tcl_Obj *messageObjPtr = Tcl_NewStringObj(catch_s,-1);
Tcl_IncrRefCount(messageObjPtr);
result = Tcl_EvalObjEx(tk_pdinterp, messageObjPtr, TCL_EVAL_GLOBAL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment