Commit 70d84f70 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

localspl: Add partial support for PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS attribute.

parent cbd47ebc
......@@ -3816,7 +3816,8 @@ static BOOL WINAPI fpScheduleJob(HANDLE hprinter, DWORD job_id)
pp->close(hpp);
print_proc_unload(pp);
DeleteFileW(job->filename);
if (!(printer->info->attributes & PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS))
DeleteFileW(job->filename);
free_job(job);
LeaveCriticalSection(&printer->info->jobs_cs);
return ret;
......
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