fix find_lib_name(), introduced in previous commit
This commit is contained in:
parent
4b3c1df2b8
commit
85e6a7563c
|
|
@ -107,7 +107,7 @@ find_lib_name(int i, char *s) {
|
|||
int j;
|
||||
for (j = 0; j < num_lib_names[i]; j++)
|
||||
if (strcmp(library_name[i][j], s) == 0)
|
||||
break;
|
||||
return j;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue