Revert ABORTPROC to bool, where appropriate
This commit is contained in:
parent
deb3cd9809
commit
b7092ff19b
|
|
@ -101,7 +101,7 @@ void WPRINT_PrintInit(HWND hwnd)
|
|||
}
|
||||
|
||||
/* Abort-Procedur zum Drucken */
|
||||
ABORTPROC CALLBACK WPRINT_Abort(HDC hdc, int iError)
|
||||
bool CALLBACK WPRINT_Abort(HDC hdc, int iError)
|
||||
{
|
||||
NG_IGNORE(hdc);
|
||||
NG_IGNORE(iError);
|
||||
|
|
@ -110,7 +110,7 @@ ABORTPROC CALLBACK WPRINT_Abort(HDC hdc, int iError)
|
|||
WaitForIdle();
|
||||
|
||||
/* Warten */
|
||||
return (ABORTPROC)TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -225,7 +225,7 @@ int WPRINT_Init(void)
|
|||
}
|
||||
|
||||
/* Abort-Prozedur setzen */
|
||||
SetAbortProc( PrinterDC, WPRINT_Abort);
|
||||
SetAbortProc( PrinterDC, (ABORTPROC)WPRINT_Abort);
|
||||
}
|
||||
/* fertig */
|
||||
return (0);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#define ngspice_WINPRINT_H
|
||||
|
||||
void WPRINT_PrintInit(HWND hwnd);
|
||||
ABORTPROC CALLBACK WPRINT_Abort( HDC hdc, int iError);
|
||||
bool CALLBACK WPRINT_Abort( HDC hdc, int iError);
|
||||
int WPRINT_Init(void);
|
||||
int WPRINT_NewViewport( GRAPH * graph);
|
||||
int WPRINT_Close(void);
|
||||
|
|
|
|||
Loading…
Reference in New Issue