mstask: Fix saving the triggers.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f997b16230
commit
bdb78491cb
|
@ -980,12 +980,10 @@ static HRESULT WINAPI MSTASK_IPersistFile_Save(IPersistFile *iface, LPCOLESTR ta
|
|||
goto failed;
|
||||
}
|
||||
|
||||
/* Trigegrs */
|
||||
if (!write_triggers(hfile, task))
|
||||
{
|
||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||
/* Triggers */
|
||||
hr = write_triggers(task, hfile);
|
||||
if (hr != S_OK)
|
||||
goto failed;
|
||||
}
|
||||
|
||||
/* Signature */
|
||||
if (!write_signature(hfile))
|
||||
|
|
Loading…
Reference in New Issue