Alistair Leslie-Hughes : oleview: Fixed crash with loading typelib information.
Alexandre Julliard
julliard at winehq.org
Thu Oct 16 09:34:20 CDT 2008
Module: wine
Branch: stable
Commit: 8e4fe4db4dbaaf3295ecaf2f201984938b5a357c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8e4fe4db4dbaaf3295ecaf2f201984938b5a357c
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Tue Jul 8 17:52:43 2008 +1000
oleview: Fixed crash with loading typelib information.
(cherry picked from commit d4f0685173a0a20b39176540047aab2f251de1aa)
---
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));
More information about the wine-cvs
mailing list