1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtprintinfo: Coverity 88097

This commit is contained in:
Peter Howkins 2018-07-04 01:53:56 +01:00
parent 445019f086
commit a38c049703

View file

@ -103,7 +103,7 @@ void DtPrtJobIcon::PrintJobObj(PrintJob *job)
{
Name(job->DisplayName());
BottomString(GetBotString(mainw, Parent(), job));
strcpy(job_number, job->AttributeValue((char *)JOB_NUMBER));
snprintf(job_number, sizeof(job_number), "%s", job->AttributeValue((char *)JOB_NUMBER));
if (props)
{
props->Visible(false);