From 25824ec712646ebe30bedd944f1a8d1228b2faf9 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Tue, 11 Jun 2002 22:03:09 +0000 Subject: [PATCH] r=mkaply, sr=blizzard, OS/2 only - fixes a couple names/comments git-svn-id: svn://10.0.0.236/trunk@123082 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/os2/nsDeviceContextSpecOS2.cpp | 1 - mozilla/gfx/src/os2/nsDeviceContextSpecOS2.h | 2 +- mozilla/gfx/src/os2/nsPrintdOS2.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.cpp b/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.cpp index 0cb542810dc..a02374eed4e 100644 --- a/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.cpp +++ b/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.cpp @@ -153,7 +153,6 @@ nsresult nsDeviceContextSpecOS2::SetPrintSettingsFromDevMode(nsIPrintSettings* a PDJP_ITEM pDJP = (PDJP_ITEM) pDJP_Buffer; HDC hdc = nsDeviceContextSpecOS2::PrnDlg.GetDCHandle(printer); - char* driver = nsDeviceContextSpecOS2::PrnDlg.GetDriverType(printer); //Get Number of Copies from Job Properties pDJP->lType = DJP_CURRENT; diff --git a/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.h b/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.h index 786d9215259..e86176683fe 100644 --- a/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.h +++ b/mozilla/gfx/src/os2/nsDeviceContextSpecOS2.h @@ -102,7 +102,7 @@ private: BOOL PrnClosePrinter( PRTQUEUE *pPrintQueue); // Get a DC for the selected printer. Must supply the application name. -HDC PrnOpenDC( PRTQUEUE *pPrintQueue, PSZ pszApplicationName, int copies, int toPrinter, char *file); +HDC PrnOpenDC( PRTQUEUE *pPrintQueue, PSZ pszApplicationName, int copies, int destination, char *file); // Get the hardcopy caps for the selected form BOOL PrnQueryHardcopyCaps( HDC hdc, PHCINFO pHCInfo); diff --git a/mozilla/gfx/src/os2/nsPrintdOS2.h b/mozilla/gfx/src/os2/nsPrintdOS2.h index 48111f4a2c4..f1d90886291 100644 --- a/mozilla/gfx/src/os2/nsPrintdOS2.h +++ b/mozilla/gfx/src/os2/nsPrintdOS2.h @@ -51,7 +51,7 @@ typedef struct OS2prdata { printDest destination; /* print to file, printer or print preview */ int copies; /* number of copies to print 0 < n < 999 */ char printer[ PATH_MAX ]; /* Printer selected - name*/ - char path[ PATH_MAX ]; /* If toPrinter = PR_FALSE, dest file */ + char path[ PATH_MAX ]; /* If destination = printToFile, dest file */ PRBool cancel; /* If PR_TRUE, user cancelled */ } OS2PrData;