Commit 9c819874 authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Bug fix.

parent 01f3dc3e
......@@ -117,6 +117,14 @@ BigBlockFile * BIGBLOCKFILE_Construct(
This->fileBased = fileBased;
This->flProtect = BIGBLOCKFILE_GetProtectMode(openFlags);
This->blocksize = blocksize;
/* initialize the block list
*/
This->headblock = NULL;
if (This->fileBased)
{
if (!BIGBLOCKFILE_FileInit(This, hFile))
......@@ -134,14 +142,6 @@ BigBlockFile * BIGBLOCKFILE_Construct(
}
}
This->flProtect = BIGBLOCKFILE_GetProtectMode(openFlags);
This->blocksize = blocksize;
/* initialize the block list
*/
This->headblock = NULL;
return This;
}
......
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