From d4f0685173a0a20b39176540047aab2f251de1aa Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Tue, 8 Jul 2008 17:52:43 +1000 Subject: [PATCH] oleview: Fixed crash with loading typelib information. --- programs/oleview/typelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c index 5dbffb092d0..e1d39a30b69 100644 --- a/programs/oleview/typelib.c +++ b/programs/oleview/typelib.c @@ -677,7 +677,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen if (V_VT(param) == VT_BSTR) { AddToTLDataStrW(tld, wszInvertedComa); - AddToTLDataStrW(tld, V_BSTR(&var)); + AddToTLDataStrW(tld, V_BSTR(param)); AddToTLDataStrW(tld, wszInvertedComa); } else if (VariantChangeType(&var, param, 0, VT_BSTR) == S_OK) AddToTLDataStrW(tld, V_BSTR(&var));