From 78fdab27fcc6fb179c720e8d85fd19fa2bd9cf3d Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 2 Sep 2025 21:31:08 +0200 Subject: [PATCH] fix typo in "".menubar entryconfigure Simulate -background" in actions.c:set_modify() --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions.c b/src/actions.c index 68693290..0bb3a61c 100644 --- a/src/actions.c +++ b/src/actions.c @@ -168,7 +168,7 @@ int set_modify(int mod) tclvareval("set tctx::", xctx->current_win_path, "_netlist $simulate_bg", NULL); my_snprintf(s, S(s), "tctx::%s_simulate_id", xctx->current_win_path); if(tclgetvar(s)) { - tclvareval("catch {", xctx->top_path, ".menubar entryconfigure Simulate -background}", tclresult(), NULL); + tclvareval("catch {", xctx->top_path, ".menubar entryconfigure Simulate -background ", tclresult(), "}", NULL); tclvareval("set tctx::", xctx->current_win_path, "_simulate ", tclresult(), NULL); } else { tclvareval("catch {", xctx->top_path, ".menubar entryconfigure Simulate -background $simulate_bg}", NULL);