ChangeSet ID: 19166 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2005/07/27 07:05:38 Modified files: dlls/version : info.c Log message: Paul Vriens Remove wrong check. Patch: http://cvs.winehq.org/patch.py?id=19166 Old revision New revision Changes Path 1.50 1.51 +3 -8 wine/dlls/version/info.c Index: wine/dlls/version/info.c diff -u -p wine/dlls/version/info.c:1.50 wine/dlls/version/info.c:1.51 --- wine/dlls/version/info.c:1.50 Mon May 20 21:25:31 2013 +++ wine/dlls/version/info.c Mon May 20 21:25:31 2013 @@ -622,14 +622,9 @@ BOOL WINAPI GetFileVersionInfoW( LPCWSTR } } - 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;