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:
parent
4e7050cd09
commit
d4fd997069
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user