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

This commit is contained in:
mkaply%us.ibm.com 2006-02-16 21:32:10 +00:00
Родитель 7e7c4124a8
Коммит 45acb71b36
3 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

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