* 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:
Karsten Heimrich
2008-03-25 00:26:55 +00:00
parent 83c2cae69d
commit c83ee60a7b
2 changed files with 4 additions and 1 deletions
@@ -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();