ole32: Fix return type.

This commit is contained in:
Andrew Eikum 2014-06-13 09:07:57 -05:00 committed by Alexandre Julliard
parent f02c0ae656
commit e9533ca85a
1 changed files with 3 additions and 3 deletions

View File

@ -7910,9 +7910,9 @@ HRESULT SmallBlockChainStream_WriteAt(
/*
* Step to the next big block.
*/
if(FAILED(SmallBlockChainStream_GetNextBlockInChain(This, blockIndex,
&blockIndex)))
return FALSE;
res = SmallBlockChainStream_GetNextBlockInChain(This, blockIndex, &blockIndex);
if (FAILED(res))
return res;
bufferWalker += bytesWrittenToBigBlockFile;
size -= bytesWrittenToBigBlockFile;
*bytesWritten += bytesWrittenToBigBlockFile;