[PATCH 1/5] oleaut32: Don't fall back on typelib name for docstring
Andrew Eikum
aeikum at codeweavers.com
Wed Jun 5 07:56:23 CDT 2013
---
Today, a handful of cleanups. Tomorrow will include the switchover
patch and the new tests.
dlls/oleaut32/typelib.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index bb3be43..af36a3b 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -4838,11 +4838,6 @@ static HRESULT WINAPI ITypeLib2_fnGetDocumentation(
if(!(*pBstrDocString = SysAllocString(TLB_get_bstr(This->DocString))))
goto memerr2;
}
- else if (This->Name)
- {
- if(!(*pBstrDocString = SysAllocString(TLB_get_bstr(This->Name))))
- goto memerr2;
- }
else
*pBstrDocString = NULL;
}
--
1.8.3
More information about the wine-patches
mailing list