ole32: Fix a spelling error in a function parameter name.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2019-11-28 13:29:42 +01:00 committed by Alexandre Julliard
parent e70de9dbbb
commit 5f35664974
1 changed files with 3 additions and 3 deletions

View File

@ -9637,7 +9637,7 @@ typedef struct
* *
* Memory allocated for pData must be freed by the caller * Memory allocated for pData must be freed by the caller
*/ */
static HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA *pData, BOOL bStrem1) static HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA *pData, BOOL bStream1)
{ {
DWORD dwSize; DWORD dwSize;
HRESULT hRes = S_OK; HRESULT hRes = S_OK;
@ -9698,7 +9698,7 @@ static HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM
} }
} }
} }
if(bStrem1) if(bStream1)
{ {
dwSize = pOleStream->lpstbl->Get(pOleStream, (void *)&(pData->dwOleObjFileNameLength), sizeof(pData->dwOleObjFileNameLength)); dwSize = pOleStream->lpstbl->Get(pOleStream, (void *)&(pData->dwOleObjFileNameLength), sizeof(pData->dwOleObjFileNameLength));
if(dwSize != sizeof(pData->dwOleObjFileNameLength)) if(dwSize != sizeof(pData->dwOleObjFileNameLength))
@ -9752,7 +9752,7 @@ static HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM
if(hRes == S_OK) /* I don't know what this 8 byte information is. We have to figure out */ if(hRes == S_OK) /* I don't know what this 8 byte information is. We have to figure out */
{ {
if(!bStrem1) /* if it is a second OLE stream data */ if(!bStream1) /* if it is a second OLE stream data */
{ {
pData->dwDataLength -= 8; pData->dwDataLength -= 8;
dwSize = pOleStream->lpstbl->Get(pOleStream, pData->strUnknown, sizeof(pData->strUnknown)); dwSize = pOleStream->lpstbl->Get(pOleStream, pData->strUnknown, sizeof(pData->strUnknown));