mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
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;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user