oleaut32: Store correct offset for imported files in ICreateTypeInfo::AddRefTypeInfo.

This commit is contained in:
Andrey Turkin 2010-05-22 00:49:48 +04:00 committed by Alexandre Julliard
parent 9724c6d774
commit 61dfc28b75
1 changed files with 1 additions and 1 deletions

View File

@ -1681,7 +1681,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnAddRefTypeInfo(
}
guid.guid = tlibattr->guid;
guid.hreftype = This->typelib->typelib_guids*12+2;
guid.hreftype = This->typelib->typelib_segdir[MSFT_SEG_IMPORTFILES].length+2;
guid.next_hash = -1;
guid_offset = ctl2_alloc_guid(This->typelib, &guid);