fix debug message potentially causing a crash in copy operations

This commit is contained in:
Stefan Frederik 2020-12-31 04:46:59 +01:00
parent 14d6cdc548
commit f18125a943
1 changed files with 1 additions and 1 deletions

View File

@ -172,8 +172,8 @@ void update_symbol_bboxes(short rot, short flip)
{
n = xctx->sel_array[i].n;
dbg(1, "update_symbol_bboxes(): i=%d, movelastsel=%d, n=%d\n", i, xctx->movelastsel, n);
dbg(1, "update_symbol_bboxes(): symbol flip=%d, rot=%d\n", xctx->inst[n].flip, xctx->inst[n].rot);
if(xctx->sel_array[i].type == ELEMENT) {
dbg(1, "update_symbol_bboxes(): symbol flip=%d, rot=%d\n", xctx->inst[n].flip, xctx->inst[n].rot);
save_flip = xctx->inst[n].flip;
save_rot = xctx->inst[n].rot;
xctx->inst[n].flip = flip ^ xctx->inst[n].flip;