Commit a16fcbe5 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

Remove wrong check.

parent b1a9701b
......@@ -622,14 +622,9 @@ BOOL WINAPI GetFileVersionInfoW( LPCWSTR filename, DWORD handle,
}
}
if ( datasize >= sizeof(VS_VERSION_INFO_STRUCT16) &&
datasize >= ((VS_VERSION_INFO_STRUCT16 *)data)->wLength &&
VersionInfoIs16( data ) )
{
ERR("Cannot access NE resource in %s\n", debugstr_w(filename) );
SetLastError(ERROR_RESOURCE_DATA_NOT_FOUND);
return FALSE;
}
/* If we end up here we have found either 16bit or 32bit
* version information
*/
SetLastError(0);
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment