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;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Trigegrs */
|
/* Triggers */
|
||||||
if (!write_triggers(hfile, task))
|
hr = write_triggers(task, hfile);
|
||||||
{
|
if (hr != S_OK)
|
||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
|
||||||
|
|
||||||
/* Signature */
|
/* Signature */
|
||||||
if (!write_signature(hfile))
|
if (!write_signature(hfile))
|
||||||
|
|
Loading…
Reference in New Issue