Module: wine Branch: refs/heads/master Commit: 90cdff9b3fbe0380cf38effb714376b26041359f URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=90cdff9b3fbe0380cf38effb... Author: Dan Hipschman <dsh(a)linux.ucla.edu> Date: Fri Jul 28 13:43:43 2006 -0700 widl: Set typelib_idx for coclasses when they're added to a typelib. --- tools/widl/write_msft.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index f712f4e..d2a49e9 100644 --- a/tools/widl/write_msft.c +++ b/tools/widl/write_msft.c @@ -2070,6 +2070,7 @@ static void add_coclass_typeinfo(msft_ty int have_default = 0, have_default_source = 0; const attr_t *attr; + cls->typelib_idx = typelib->typelib_header.nrtypeinfos; msft_typeinfo = create_msft_typeinfo(typelib, TKIND_COCLASS, cls->name, cls->attrs, typelib->typelib_header.nrtypeinfos);