17 Oct
2011
17 Oct
'11
3:39 p.m.
Dan Kegel <dank(a)kegel.com> writes:
@@ -1877,7 +1877,7 @@ static WCHAR *lookup_manifest_file( HANDLE dir, struct assembly_identity *ai ) if (build == min_build && revision < min_revision) continue; tmp = strchrW(tmp, '_') + 1; tmp = strchrW(tmp, '_') + 1; - if (!strcmpiW( tmp, wine_trailerW )) + if (!strncmpiW( tmp, wine_trailerW, dir_info->FileNameLength/sizeof(WCHAR) - (tmp - dir_info->FileName) ))
That doesn't do the same thing. -- Alexandre Julliard julliard(a)winehq.org