From 8b862038c598364fdfa1ca40f35ab0136e00bf9b Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Mon, 27 Jan 2020 16:05:11 -0600 Subject: [PATCH] oleaut32-CreateTypeLib: Fix a misplaced address operator. --- ...aut32-Implement-semi-stub-for-CreateTypeLib.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/patches/oleaut32-CreateTypeLib/0001-oleaut32-Implement-semi-stub-for-CreateTypeLib.patch b/patches/oleaut32-CreateTypeLib/0001-oleaut32-Implement-semi-stub-for-CreateTypeLib.patch index 28bbdc44..c34bb743 100644 --- a/patches/oleaut32-CreateTypeLib/0001-oleaut32-Implement-semi-stub-for-CreateTypeLib.patch +++ b/patches/oleaut32-CreateTypeLib/0001-oleaut32-Implement-semi-stub-for-CreateTypeLib.patch @@ -1,17 +1,17 @@ -From c82a7265f3a5fa9114c7881fba3047aae960340a Mon Sep 17 00:00:00 2001 +From e7a52382dcd503090919b41cffd7a55ec48f8ec5 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 2 Sep 2015 13:09:34 +1000 -Subject: oleaut32: Implement semi-stub for CreateTypeLib. +Subject: [PATCH] oleaut32: Implement semi-stub for CreateTypeLib. --- dlls/oleaut32/typelib.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c -index 2a24b79..4066d03 100644 +index 451753e23..885be2646 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c -@@ -424,11 +424,21 @@ HRESULT WINAPI QueryPathOfRegTypeLib( REFGUID guid, WORD wMaj, WORD wMin, LCID l +@@ -422,11 +422,21 @@ HRESULT WINAPI QueryPathOfRegTypeLib( REFGUID guid, WORD wMaj, WORD wMin, LCID l * Success: S_OK * Failure: Status */ @@ -30,7 +30,7 @@ index 2a24b79..4066d03 100644 + hres = CreateTypeLib2(syskind, file, &typelib2); + if(SUCCEEDED(hres)) + { -+ hres = ICreateTypeLib2_QueryInterface(typelib2, &IID_ICreateTypeLib, (void **)&ctlib); ++ hres = ICreateTypeLib2_QueryInterface(typelib2, &IID_ICreateTypeLib, (void **)ctlib); + ICreateTypeLib2_Release(typelib2); + } + @@ -39,5 +39,5 @@ index 2a24b79..4066d03 100644 /****************************************************************************** -- -2.7.0 +2.25.0