diff --git a/src/scheduler.c b/src/scheduler.c index 8e5924f0..b9eb8a2d 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -1361,7 +1361,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg cmd_found = 1; tcleval("catch { ngspice::resetdata }"); tcleval("load_file_dialog {Load Schematic} .sch.sym INITIALLOADDIR"); - my_snprintf(fullname, S(fullname),"%s", tclresult()); + my_snprintf(fullname, S(fullname),"%s", abs_sym_path(tclresult(), "")); if( fullname[0] ) { Tcl_VarEval(interp, "new_window create ", fullname, NULL); }