fix tcleval called with 2 arguments on windows build in print_image()

This commit is contained in:
stefan schippers 2024-06-09 23:38:20 +02:00
parent 9282ea670e
commit 9545eea546
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ void print_image()
my_snprintf(cmd, S(cmd), "convert_to_png {%s} {%s}", psfile, xctx->plotfile);
tcleval(cmd);
}
else tcleval("convert_to_png {%s} plot.png", psfile);
else tclvareval("convert_to_png {", psfile, "} plot.png", NULL);
#endif
#endif
my_strncpy(xctx->plotfile,"", S(xctx->plotfile));