mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
fix find_lib_name(), introduced in previous commit
This commit is contained in:
@@ -107,7 +107,7 @@ find_lib_name(int i, char *s) {
|
|||||||
int j;
|
int j;
|
||||||
for (j = 0; j < num_lib_names[i]; j++)
|
for (j = 0; j < num_lib_names[i]; j++)
|
||||||
if (strcmp(library_name[i][j], s) == 0)
|
if (strcmp(library_name[i][j], s) == 0)
|
||||||
break;
|
return j;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user