From 6f9ddff72f35de9bea3a2c87076505fdc105bf6c Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 30 Apr 2024 11:00:37 +0200 Subject: [PATCH] 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 --- src/xinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xinit.c b/src/xinit.c index aace3665..072219b0 100644 --- a/src/xinit.c +++ b/src/xinit.c @@ -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));