ole32: Fix a typo in IEnumSTATSTGImpl_QueryInterface where IStorage was being compared against instead of IEnumSTATSTG.

This commit is contained in:
Robert Shearman 2006-08-09 18:16:10 +01:00 committed by Alexandre Julliard
parent 8f513e3576
commit 8d7bfca965
1 changed files with 1 additions and 1 deletions

View File

@ -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);