remove dbg messages

This commit is contained in:
stefan schippers 2025-02-22 19:49:43 +01:00
parent 81c3d64778
commit 7144ead895
1 changed files with 2 additions and 2 deletions

View File

@ -1650,13 +1650,13 @@ static int update_symbol(const char *result, int x, int selected_inst)
if(!pushed) { xctx->push_undo(); pushed=1;}
if(!k) hash_names(-1, XINSERT);
hash_names(*ii, XDELETE);
dbg(0, "update_symbol(): delete %s\n", xctx->inst[*ii].instname);
dbg(1, "update_symbol(): delete %s\n", xctx->inst[*ii].instname);
my_strdup2(_ALLOC_ID_, &old_name, xctx->inst[*ii].instname);
new_prop_string(*ii, ptr, /* sets also inst[].instname */
tclgetboolvar("disable_unique_names")); /* set new prop_ptr */
hash_names(*ii, XINSERT);
update_attached_floaters(old_name, *ii, 1);
dbg(0, "update_symbol(): insert %s\n", xctx->inst[*ii].instname);
dbg(1, "update_symbol(): insert %s\n", xctx->inst[*ii].instname);
my_free(_ALLOC_ID_, &old_name);
}
set_inst_flags(&xctx->inst[*ii]);