oleaut32: Run LayOut on typeinfos that require it before saving.
This commit is contained in:
parent
f66523abee
commit
341ff65b95
|
@ -9689,9 +9689,14 @@ static HRESULT WINAPI ICreateTypeLib2_fnSaveAllChanges(ICreateTypeLib2 *iface)
|
||||||
HANDLE outfile;
|
HANDLE outfile;
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
DWORD *junk;
|
DWORD *junk;
|
||||||
|
UINT i;
|
||||||
|
|
||||||
TRACE("%p\n", This);
|
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));
|
memset(&file, 0, sizeof(file));
|
||||||
|
|
||||||
file.header.magic1 = 0x5446534D;
|
file.header.magic1 = 0x5446534D;
|
||||||
|
|
Loading…
Reference in New Issue