зеркало из https://github.com/mozilla/gecko-dev.git
r=mkaply, sr=blizzard, OS/2 only - fixes a couple names/comments
This commit is contained in:
Родитель
7e7c4124a8
Коммит
45acb71b36
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче