windowscodecs: Fix typo.
This commit is contained in:
parent
f5c46b01f4
commit
c1aef636df
|
@ -284,7 +284,7 @@ static HRESULT ReadIcoDib(IStream *stream, IcoFrameDecode *result)
|
|||
}
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
hr = IWICBitmapFrameDecode_GetResolution(source, &result->dpiX, &result->dpiY);
|
||||
hr = IWICBitmapFrameDecode_GetResolution(framedecode, &result->dpiX, &result->dpiY);
|
||||
|
||||
IWICBitmapFrameDecode_Release(framedecode);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue