From 8af455a118fe1a55937cb839246fff470d49c86a Mon Sep 17 00:00:00 2001
From: Roman Dadkov <romand@etersoft.ru>
Date: Tue, 21 Aug 2012 18:00:38 +0400
Subject: [PATCH] oleaut32: Record DocString field in ITypeInfoImpl structure
 in function ITypeLib2_Constructor_SLTG.

---
 dlls/oleaut32/typelib.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 3339c49..f4a051a 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -4092,6 +4092,9 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength)
 					     pOtherTypeInfoBlks[i].name_offs +
 					     pNameTable);
       (*ppTypeInfoImpl)->dwHelpContext = pOtherTypeInfoBlks[i].helpcontext;
+      (*ppTypeInfoImpl)->DocString = TLB_MultiByteToBSTR(
+                                            pOtherTypeInfoBlks[i].helpcontext +
+                                            pNameTable);
       (*ppTypeInfoImpl)->TypeAttr.guid = pOtherTypeInfoBlks[i].uuid;
       (*ppTypeInfoImpl)->TypeAttr.typekind = pTIHeader->typekind;
       (*ppTypeInfoImpl)->TypeAttr.wMajorVerNum = pTIHeader->major_version;
-- 
1.7.10.5
