mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
windowscodecs: Do not assume that vtable is the first element of the object.
This commit is contained in:
parent
49550c647d
commit
40bda4a030
@ -59,7 +59,7 @@ static HRESULT WINAPI PaletteImpl_QueryInterface(IWICPalette *iface, REFIID iid,
|
||||
|
||||
if (IsEqualIID(&IID_IUnknown, iid) || IsEqualIID(&IID_IWICPalette, iid))
|
||||
{
|
||||
*ppv = This;
|
||||
*ppv = &This->IWICPalette_iface;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user