Remove wrong check.
This commit is contained in:
parent
b1a9701bb5
commit
a16fcbe5ba
|
@ -622,14 +622,9 @@ BOOL WINAPI GetFileVersionInfoW( LPCWSTR filename, DWORD handle,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( datasize >= sizeof(VS_VERSION_INFO_STRUCT16) &&
|
/* If we end up here we have found either 16bit or 32bit
|
||||||
datasize >= ((VS_VERSION_INFO_STRUCT16 *)data)->wLength &&
|
* version information
|
||||||
VersionInfoIs16( data ) )
|
*/
|
||||||
{
|
|
||||||
ERR("Cannot access NE resource in %s\n", debugstr_w(filename) );
|
|
||||||
SetLastError(ERROR_RESOURCE_DATA_NOT_FOUND);
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
SetLastError(0);
|
SetLastError(0);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue