Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
d8aadedc
Commit
d8aadedc
authored
Aug 30, 2013
by
Ivica Bukvic
Browse files
disabled error reporting in t_tkcmd.c
parent
74f3e019
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/t_tkcmd.c
View file @
d8aadedc
...
...
@@ -555,10 +555,10 @@ static int pdCmd(ClientData cd, Tcl_Interp *interp, int argc, char **argv)
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
);
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment