cosmetic changes ([xschem get version] print format)

This commit is contained in:
Stefan Frederik 2021-11-25 19:26:43 +01:00
parent 39a27e856e
commit f9b6389942
2 changed files with 2 additions and 2 deletions

View File

@ -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")) {

View File

@ -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