From 8d7bfca965b91c8d1dbdded9fdaf38b6677985ac Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Wed, 9 Aug 2006 18:16:10 +0100 Subject: [PATCH] ole32: Fix a typo in IEnumSTATSTGImpl_QueryInterface where IStorage was being compared against instead of IEnumSTATSTG. --- dlls/ole32/storage32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index abf944ac7f0..d44d3818d97 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -3716,7 +3716,7 @@ static HRESULT WINAPI IEnumSTATSTGImpl_QueryInterface( * 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); -- 2.11.4.GIT