Module: wine Branch: master Commit: e796ef820bfa6269df871a33e6cdf91c44893ba7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e796ef820bfa6269df871a33e6...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Tue Jul 24 15:15:15 2012 +0900
windowscodecs: Do not assume that vtable is the first element of the object.
---
dlls/windowscodecs/propertybag.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/windowscodecs/propertybag.c b/dlls/windowscodecs/propertybag.c index 128cf24..3a85df0 100644 --- a/dlls/windowscodecs/propertybag.c +++ b/dlls/windowscodecs/propertybag.c @@ -54,7 +54,7 @@ static HRESULT WINAPI PropertyBag_QueryInterface(IPropertyBag2 *iface, REFIID ii if (IsEqualIID(&IID_IUnknown, iid) || IsEqualIID(&IID_IPropertyBag2, iid)) { - *ppv = This; + *ppv = &This->IPropertyBag2_iface; } else {