Module: wine Branch: refs/heads/master Commit: 8d7bfca965b91c8d1dbdded9fdaf38b6677985ac URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8d7bfca965b91c8d1dbdded9...
Author: Robert Shearman rob@codeweavers.com Date: Wed Aug 9 18:16:10 2006 +0100
ole32: Fix a typo in IEnumSTATSTGImpl_QueryInterface where IStorage was being compared against instead of IEnumSTATSTG.
---
dlls/ole32/storage32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index abf944a..d44d381 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -3716,7 +3716,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_Q * Compare the riid with the interface IDs implemented by this object. */ if (IsEqualGUID(&IID_IUnknown, riid) || - IsEqualGUID(&IID_IStorage, riid)) + IsEqualGUID(&IID_IEnumSTATSTG, riid)) { *ppvObject = (IEnumSTATSTG*)This; IEnumSTATSTG_AddRef((IEnumSTATSTG*)This);