From 9545eea54605e3bb3c24bf5d71544153840ff6cd Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sun, 9 Jun 2024 23:38:20 +0200 Subject: [PATCH] fix tcleval called with 2 arguments on windows build in print_image() --- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw.c b/src/draw.c index 999d4f9b..8d4d9396 100644 --- a/src/draw.c +++ b/src/draw.c @@ -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));