* fixed typo in PreviewDriver
* also always add the resolution to the config message git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24561 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -290,6 +290,9 @@ PageSetupWindow::UpdateSetupMessage()
|
|||||||
|
|
||||||
SetInt32(fSetupMsg, "units", fMarginView->GetMarginUnit());
|
SetInt32(fSetupMsg, "units", fMarginView->GetMarginUnit());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetInt32(fSetupMsg, "xres", 300);
|
||||||
|
SetInt32(fSetupMsg, "yres", 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ status_t
|
|||||||
PreviewDriver::PrintJob(BFile *jobFile, BMessage *jobMsg)
|
PreviewDriver::PrintJob(BFile *jobFile, BMessage *jobMsg)
|
||||||
{
|
{
|
||||||
#if PREVIEW_DRIVER_DEBUG
|
#if PREVIEW_DRIVER_DEBUG
|
||||||
return PrinterDriver::PrintJob(jobFile, jobMessage)
|
return PrinterDriver::PrintJob(jobFile, jobMsg)
|
||||||
#else
|
#else
|
||||||
PreviewWindow* w = new PreviewWindow(jobFile);
|
PreviewWindow* w = new PreviewWindow(jobFile);
|
||||||
return w->Go();
|
return w->Go();
|
||||||
|
|||||||
Reference in New Issue
Block a user