From f9b6389942fba6c20378d120d5c0d3c683740d87 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Thu, 25 Nov 2021 19:26:43 +0100 Subject: [PATCH] cosmetic changes ([xschem get version] print format) --- src/scheduler.c | 2 +- src/xschem.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scheduler.c b/src/scheduler.c index b00e1c2f..6f99258d 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -706,7 +706,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg } else if(!strcmp(argv[2],"version")) { char s[30]; /* overflow safe 20161122 */ - my_snprintf(s, S(s), "XSCHEM V%s",XSCHEM_VERSION); + my_snprintf(s, S(s), "%s",XSCHEM_VERSION); Tcl_SetResult(interp, s,TCL_VOLATILE); } else if(!strcmp(argv[2],"wirelayer")) { diff --git a/src/xschem.tcl b/src/xschem.tcl index 2ea6335c..b8c82585 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -2076,7 +2076,7 @@ proc about {} { } toplevel .about -class dialog wm title .about {About XSCHEM} - label .about.xschem -text "[xschem get version]" -font {Sans 24 bold} + label .about.xschem -text "XSCHEM V[xschem get version]" -font {Sans 24 bold} label .about.descr -text "Schematic editor / netlister for VHDL, Verilog, SPICE, tEDAx" button .about.link -text {http://repo.hu/projects/xschem} -font Underline-Font -fg blue -relief flat button .about.link2 -text {https://github.com/StefanSchippers/xschem} -font Underline-Font -fg blue -relief flat