Commit 341ff65b authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

oleaut32: Run LayOut on typeinfos that require it before saving.

parent f66523ab
......@@ -9689,9 +9689,14 @@ static HRESULT WINAPI ICreateTypeLib2_fnSaveAllChanges(ICreateTypeLib2 *iface)
HANDLE outfile;
HRESULT hres;
DWORD *junk;
UINT i;
TRACE("%p\n", This);
for(i = 0; i < This->TypeInfoCount; ++i)
if(This->typeinfos[i]->needs_layout)
ICreateTypeInfo2_LayOut(&This->typeinfos[i]->ICreateTypeInfo2_iface);
memset(&file, 0, sizeof(file));
file.header.magic1 = 0x5446534D;
......
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