schedsvc: Pass full task file name to remove_job()/add_job().

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2018-05-11 12:36:26 +08:00 committed by Alexandre Julliard
parent 4bd663629d
commit 0932d858aa
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ static DWORD WINAPI tasks_monitor_thread(void *arg)
GetWindowsDirectoryW(path, MAX_PATH);
lstrcatW(path, tasksW);
lstrcatW(path, info.data.FileName);
remove_job(info.data.FileName);
add_job(info.data.FileName);
remove_job(path);
add_job(path);
break;
default: