winewrap: fix typo

Dimitrie O. Paun dimi at intelliware.ca
Fri Feb 20 11:17:54 CST 2004


ChangeLog
    Dimitrie O. Paun <dpaun at rogers.com>
    Fix typo introduced during the path search reorganizaton.


Index: tools/winegcc/winewrap.c
===================================================================
RCS file: /var/cvs/wine/tools/winegcc/winewrap.c,v
retrieving revision 1.15
diff -u -r1.15 winewrap.c
--- tools/winegcc/winewrap.c	13 Feb 2004 20:20:57 -0000	1.15
+++ tools/winegcc/winewrap.c	20 Feb 2004 16:30:56 -0000
@@ -186,13 +186,13 @@
     {
         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;
 	}
 	if (j < lib_paths->size) continue;
 	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;
 	}
 	if (j < sizeof(std_paths)/sizeof(std_paths[0])) continue;

-- 
Dimi.




More information about the wine-patches mailing list