r=mkaply, sr=blizzard, OS/2 only - fixes a couple names/comments

This commit is contained in:
mkaply%us.ibm.com 2002-06-11 22:03:09 +00:00
parent 143a6ca65d
commit 745a5c9191
3 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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;