summaryrefslogtreecommitdiff
path: root/src/drivers/Posix
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-22 13:16:14 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-22 13:16:14 +0200
commit4f8e692f30807aeea3284bfccc929823281ce899 (patch)
tree31801953837a3163b987210affe2c042df7a3acf /src/drivers/Posix
parent80f574046840a33e15da87dd18e7b576c67f222e (diff)
Add default value of 0 for 1st arg of member function Fl_Printer::begin_job().
Diffstat (limited to 'src/drivers/Posix')
-rw-r--r--src/drivers/Posix/Fl_Posix_Printer_Driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Posix/Fl_Posix_Printer_Driver.cxx b/src/drivers/Posix/Fl_Posix_Printer_Driver.cxx
index 926f1b3d6..d421b0024 100644
--- a/src/drivers/Posix/Fl_Posix_Printer_Driver.cxx
+++ b/src/drivers/Posix/Fl_Posix_Printer_Driver.cxx
@@ -28,7 +28,7 @@
/** Support for printing on the Unix/Linux platform */
class Fl_Posix_Printer_Driver : public Fl_PostScript_File_Device {
- virtual int begin_job(int pagecount, int *frompage = NULL, int *topage = NULL);
+ virtual int begin_job(int pagecount = 0, int *frompage = NULL, int *topage = NULL);
};
#if HAVE_DLSYM && HAVE_DLFCN_H
@@ -57,7 +57,7 @@ public:
GtkPrintJob *pjob; // data shared between begin_job() and end_job()
char tmpfilename[50]; // name of temporary PostScript file containing to-be-printed data
- virtual int begin_job(int pagecount, int *frompage = NULL, int *topage = NULL);
+ virtual int begin_job(int pagecount = 0, int *frompage = NULL, int *topage = NULL);
virtual void end_job();
static bool probe_for_GTK();
static void *ptr_gtk; // points to the GTK dynamic lib or NULL