Commit bdb78491 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

mstask: Fix saving the triggers.

parent f997b162
......@@ -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))
......
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