Module: wine Branch: master Commit: d4f0685173a0a20b39176540047aab2f251de1aa URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4f0685173a0a20b3917654004...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Tue Jul 8 17:52:43 2008 +1000
oleview: Fixed crash with loading typelib information.
---
programs/oleview/typelib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c index 5dbffb0..e1d39a3 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));