Commit 61dfc28b authored by Andrey Turkin's avatar Andrey Turkin Committed by Alexandre Julliard

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

parent 9724c6d7
......@@ -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);
......
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