winemenubuilder: Show filename on failure.

This commit is contained in:
Detlef Riekenberg 2011-06-26 18:26:27 +02:00 committed by Alexandre Julliard
parent c0682a26d2
commit 2497a91f6b
1 changed files with 1 additions and 1 deletions

View File

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