fix xschem load command (dont get fooled by .sym extension, could not be a symbol). Always load as a schematic (sym and sch are the same thing
This commit is contained in:
parent
a3263aca0b
commit
f75ed4827b
|
|
@ -1709,10 +1709,6 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg
|
|||
}
|
||||
}
|
||||
if(argc>2) {
|
||||
i = strlen(argv[2]);
|
||||
if(i > 4 && !strcmp(argv[2] + i - 4, ".sym")) {
|
||||
load_symbols = 0;
|
||||
}
|
||||
if(force || !has_x || !xctx->modified || save(1) != -1 ) { /* save(1)==-1 --> user cancel */
|
||||
char f[PATH_MAX];
|
||||
char win_path[WINDOW_PATH_SIZE];
|
||||
|
|
|
|||
Loading…
Reference in New Issue