Do not overwrite current printer name. Name should be provided by print_server already.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21737 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer 2007-07-29 08:59:46 +00:00
parent 4e7050cd09
commit d4fd997069

View File

@ -412,8 +412,8 @@ BPrintJob::BeginJob()
}
// add printer settings message
fSetupMessage->RemoveName(PSRV_FIELD_CURRENT_PRINTER);
fSetupMessage->AddString(PSRV_FIELD_CURRENT_PRINTER, printer);
if (!fSetupMessage->HasString(PSRV_FIELD_CURRENT_PRINTER))
fSetupMessage->AddString(PSRV_FIELD_CURRENT_PRINTER, printer);
AddSetupSpec();
// prepare page header