Fix typo introduced during the path search reorganizaton.

This commit is contained in:
Dimitrie O. Paun 2004-02-20 19:57:56 +00:00 committed by Alexandre Julliard
parent 9c39156efd
commit a9d4b07166
1 changed files with 2 additions and 2 deletions

View File

@ -186,13 +186,13 @@ static void identify_lib_files(strarray *lib_files)
{ {
for (j = 0; j < lib_paths->size; j++) for (j = 0; j < lib_paths->size; j++)
{ {
if (identify_lib_file(lib_paths->base[i], lib_files->base[i])) if (identify_lib_file(lib_paths->base[j], lib_files->base[i]))
break; break;
} }
if (j < lib_paths->size) continue; if (j < lib_paths->size) continue;
for (j = 0; j < sizeof(std_paths)/sizeof(std_paths[0]); j++) for (j = 0; j < sizeof(std_paths)/sizeof(std_paths[0]); j++)
{ {
if (identify_lib_file(std_paths[i], lib_files->base[i])) if (identify_lib_file(std_paths[j], lib_files->base[i]))
break; break;
} }
if (j < sizeof(std_paths)/sizeof(std_paths[0])) continue; if (j < sizeof(std_paths)/sizeof(std_paths[0])) continue;