winemenubuilder: Fix encoder method argument.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-11-09 02:46:48 +03:00 committed by Alexandre Julliard
parent 5e0d1c89ed
commit 1056684aeb
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ static HRESULT convert_to_native_icon(IStream *icoFile, int *indices, int numInd
WINE_ERR("error 0x%08X creating output file %s\n", hr, wine_dbgstr_w(dosOutputFileName));
goto end;
}
hr = IWICBitmapEncoder_Initialize(encoder, outputFile, GENERIC_WRITE);
hr = IWICBitmapEncoder_Initialize(encoder, outputFile, WICBitmapEncoderNoCache);
if (FAILED(hr))
{
WINE_ERR("error 0x%08X initializing encoder\n", hr);