Browse Source

Prevent from endless loop

pre-master-46
Holger Vogt 3 years ago
parent
commit
6ef94cb9f2
  1. 2
      src/misc/ivars.c

2
src/misc/ivars.c

@ -111,7 +111,7 @@ ivars(char *argv0)
if (path_end) {
char* exec_only = strstr(path_end + 7, "ngspice");
while (exec_only) {
path_end = strstr(Spice_Exec_Path, "ngspice");
path_end = strstr(exec_only, "ngspice");
if (path_end)
exec_only = strstr(path_end + 7, "ngspice");
}

Loading…
Cancel
Save