From 8a2dbd737b6fcada15cc82079d72dc6d1b5f55c9 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Fri, 29 Jul 2011 11:07:37 -0500 Subject: [PATCH] windowscodecs: Fix typo. --- dlls/windowscodecs/icoformat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/windowscodecs/icoformat.c b/dlls/windowscodecs/icoformat.c index b9e7c61..48a5c95 100644 --- a/dlls/windowscodecs/icoformat.c +++ b/dlls/windowscodecs/icoformat.c @@ -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); } -- 1.7.1