Module: wine Branch: master Commit: 2d8cd767b239eedee879270f26dcf300e4503c35 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d8cd767b239eedee879270f26...
Author: Aric Stewart aric@codeweavers.com Date: Tue Aug 28 18:11:14 2007 +0900
ole32: Properly update the SmallBlockDepotCount when adding more blocks.
---
dlls/ole32/storage32.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 584b132..c627a43 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -5194,6 +5194,8 @@ static ULONG SmallBlockChainStream_GetNextFreeBlock( This->parentStorage->base.rootPropertySetIndex, &rootProp); } + else + StorageImpl_SaveFileHeader(This->parentStorage); } }