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

Alexandre Julliard julliard at winehq.org
Thu Nov 28 16:02:21 CST 2019


Module: wine
Branch: master
Commit: 5f35664974e2375aa368c8a9ba91996335414dae
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5f35664974e2375aa368c8a9ba91996335414dae

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Nov 28 13:29:42 2019 +0100

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

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/storage32.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index fa3872dad0..515880ec36 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -9637,7 +9637,7 @@ typedef struct
  *
  *     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;
 	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));
 				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(!bStrem1) /* if it is a second OLE stream data */
+				if(!bStream1) /* if it is a second OLE stream data */
 				{
 					pData->dwDataLength -= 8;
 					dwSize = pOleStream->lpstbl->Get(pOleStream, pData->strUnknown, sizeof(pData->strUnknown));




More information about the wine-cvs mailing list