revert change `do not load XSCHEM_LIBRARY_PATH if options are given on cmdline`. if no file to load is given $XSCHEM_LIBRARY_PATH will be loaded regardless of command line switches

This commit is contained in:
stefan schippers 2024-04-30 11:00:37 +02:00
parent 5a4b2cc6e0
commit 6f9ddff72f
1 changed files with 1 additions and 1 deletions

View File

@ -2888,7 +2888,7 @@ int Tcl_AppInit(Tcl_Interp *inter)
change_to_unix_fn(tmp);
#endif
dbg(1, "Tcl_AppInit(): tmp=%s\n", tmp? tmp: "NULL");
if(cli_argc > 1)
if(0 && cli_argc > 1) /* disabled */
my_strncpy(fname, "", S(fname)); /* no load XSCHEM_START_WINDOW if cli args given */
else
my_strncpy(fname, abs_sym_path(tmp, ""), S(fname));