Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/shlwapi/istream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shlwapi/istream.c b/dlls/shlwapi/istream.c index 946d2c84b6..7ebb478b29 100644 --- a/dlls/shlwapi/istream.c +++ b/dlls/shlwapi/istream.c @@ -242,7 +242,7 @@ static HRESULT WINAPI IStream_fnCopyTo(IStream *iface, IStream* pstm, ULARGE_INT pcbRead->QuadPart += ulRead;
/* Write */ - hRet = IStream_fnWrite(pstm, copyBuff, ulRead, &ulWritten); + hRet = IStream_Write(pstm, copyBuff, ulRead, &ulWritten); if (pcbWritten) pcbWritten->QuadPart += ulWritten; if (FAILED(hRet) || ulWritten != ulLeft)