mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ole32: Allow storage files with a block size of 4096 to open.
This commit is contained in:
parent
5ceb003a24
commit
93c2256cff
1 changed files with 1 additions and 1 deletions
|
@ -3381,7 +3381,7 @@ static HRESULT StorageImpl_LoadFileHeader(
|
|||
* Right now, the code is making some assumptions about the size of the
|
||||
* blocks, just make sure they are what we're expecting.
|
||||
*/
|
||||
if (This->bigBlockSize != DEF_BIG_BLOCK_SIZE ||
|
||||
if ((This->bigBlockSize != MIN_BIG_BLOCK_SIZE && This->bigBlockSize != MAX_BIG_BLOCK_SIZE) ||
|
||||
This->smallBlockSize != DEF_SMALL_BLOCK_SIZE)
|
||||
{
|
||||
WARN("Broken OLE storage file\n");
|
||||
|
|
Loading…
Reference in a new issue