turn off dbg messages

This commit is contained in:
Stefan Frederik 2020-12-02 12:50:08 +01:00
parent 18fcdac961
commit 2dc28726d3
2 changed files with 5 additions and 4 deletions

View File

@ -85,7 +85,8 @@ int find_script_fungw_user_call_ctx(const char *name, int logdepth, int fatal)
int find_script_fungw_cfg_pupdir(const char *name, int logdepth, int fatal)
{
const char *lf, *cf, *inc, *out;
const char *lf, *cf, *inc;
char * out;
char *test_c =
NL "#include <libfungw/fungw.h>"
NL "int main() {"
@ -128,4 +129,4 @@ int find_script_fungw_all(const char *name, int logdepth, int fatal)
return 1;
require("libs/script/fungw/user_call_ctx/*", logdepth, 0);
return 0;
}
}

View File

@ -176,8 +176,8 @@ void update_symbol_bboxes(int rot, int flip)
for(i=0;i<lastsel;i++)
{
n = selectedgroup[i].n;
dbg(0, "update_symbol_bboxes(): i=%d, lastsel=%d, n=%d\n", i, lastsel, n);
dbg(0, "update_symbol_bboxes(): symbol flip=%d, rot=%d\n", xctx->inst[n].flip, xctx->inst[n].rot);
dbg(1, "update_symbol_bboxes(): i=%d, lastsel=%d, n=%d\n", i, lastsel, n);
dbg(1, "update_symbol_bboxes(): symbol flip=%d, rot=%d\n", xctx->inst[n].flip, xctx->inst[n].rot);
if(selectedgroup[i].type == ELEMENT) {
save_flip = xctx->inst[n].flip;
save_rot = xctx->inst[n].rot;