Commit 10d552b2 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

oleview: Initialize TVITEM.lParam to NULL in EnumFuncs.

parent 26baab35
......@@ -243,6 +243,7 @@ int EnumFuncs(ITypeInfo *pTypeInfo, int cFuncs, HTREEITEM hParent)
U(tvis).item.cchTextMax = SysStringLen(bstrName);
U(tvis).item.pszText = bstrName;
U(tvis).item.lParam = 0;
SendMessage(typelib.hTree, TVM_INSERTITEM, 0, (LPARAM)&tvis);
SysFreeString(bstrName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment