Commit a1d3a2a1 authored by Albert Gräf's avatar Albert Gräf
Browse files

Revert f9cb7772.

parent 3207b0da
......@@ -347,7 +347,7 @@ function gui_post_error(objectid, loglevel, errormsg) {
}
function gui_legacy_tcl_command(file, line_number, text) {
post("legacy tcl command at " + line_number + " of " + file);
post("legacy tcl command at " + line_number + " of " + file + ": " + text);
}
function clear_console() {
......
......@@ -951,11 +951,8 @@ void sys_vguid(const char *file, int line, const char *fmt, ...)
strncat(bufp, "...", MAXPDSTRING);
}
}
/* For now, we're sending a dummy string instead of bufp to the GUI.
Unlike Pd messages, old tcl commands can contain stray backslashes
that can mess up the double quote delimiters for strings in gui_vmess.*/
gui_vmess("gui_legacy_tcl_command", "sis",
file, line, "dummy");
file, line, bufp);
//sys_vvguid(file,line,fmt,ap);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment