From 1cb0e3e3bf66315997dcc774661e8514661f07bd Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Sun, 24 Jan 2010 13:11:51 -0600 Subject: [PATCH] ole32: IStorage_Revert has no effect for non-transacted storages. --- dlls/ole32/storage32.c | 4 ++-- dlls/ole32/tests/storage32.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 39ed710..8fe0542 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -1796,8 +1796,8 @@ static HRESULT WINAPI StorageImpl_Commit( static HRESULT WINAPI StorageImpl_Revert( IStorage* iface) { - FIXME("(%p): stub\n", iface); - return E_NOTIMPL; + TRACE("(%p)\n", iface); + return S_OK; } /************************************************************************* diff --git a/dlls/ole32/tests/storage32.c b/dlls/ole32/tests/storage32.c index ceca756..e598fe0 100644 --- a/dlls/ole32/tests/storage32.c +++ b/dlls/ole32/tests/storage32.c @@ -1384,7 +1384,7 @@ static void test_revert(void) ok(r==S_OK, "IStorage->CreateStream failed\n"); r = IStorage_Revert(stg); - todo_wine ok(r==S_OK, "IStorage->Revert failed %08x\n", r); + ok(r==S_OK, "IStorage->Revert failed %08x\n", r); r = IStream_Write(stm, "this works\n", 11, NULL); ok(r==S_OK, "IStream_Write should succeed %08x\n", r); -- 1.6.3.3