Module: wine Branch: master Commit: e9533ca85aba0fefe72e1d942489adb2beb8f7e8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e9533ca85aba0fefe72e1d9424...
Author: Andrew Eikum aeikum@codeweavers.com Date: Fri Jun 13 09:07:57 2014 -0500
ole32: Fix return type.
---
dlls/ole32/storage32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 69a2198..757138d 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -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;