remove debug msg

This commit is contained in:
stefan schippers 2023-10-23 00:05:34 +02:00
parent 10857629e1
commit 6e776262e6
1 changed files with 1 additions and 1 deletions

View File

@ -3358,7 +3358,7 @@ int place_text(int draw_text, double mx, double my)
vsize = (char *)tclgetvar("vsize"); vsize = (char *)tclgetvar("vsize");
if(!txt || !strcmp(txt,"")) return 0; /* dont allocate text object if empty string given */ if(!txt || !strcmp(txt,"")) return 0; /* dont allocate text object if empty string given */
xctx->push_undo(); xctx->push_undo();
dbg(0,"props=%s, txt=%s\n", props, txt); dbg(1,"props=%s, txt=%s\n", props, txt);
create_text(draw_text, mx, my, 0, 0, txt, props, atof(hsize), atof(vsize)); create_text(draw_text, mx, my, 0, 0, txt, props, atof(hsize), atof(vsize));
select_text(xctx->texts - 1, SELECTED, 0); select_text(xctx->texts - 1, SELECTED, 0);