diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx index eb604259e..f6cf37815 100644 --- a/src/Fl_Paged_Device.cxx +++ b/src/Fl_Paged_Device.cxx @@ -150,7 +150,7 @@ void Fl_Paged_Device::print_window_part(Fl_Window *win, int x, int y, int w, int @param[in] pagecount the total number of pages of the job @param[out] frompage if non-null, *frompage is set to the first page the user wants printed @param[out] topage if non-null, *topage is set to the last page the user wants printed - @return 0 iff OK + @return 0 if OK, non-zero if any error */ int Fl_Paged_Device::start_job(int pagecount, int *frompage, int *topage) {return 1;} @@ -159,7 +159,7 @@ int Fl_Paged_Device::start_job(int pagecount, int *frompage, int *topage) {retur * The page coordinates are initially in points, i.e., 1/72 inch, and with origin at the top left of the printable page area. - @return 0 iff OK + @return 0 if OK, non-zero if any error */ int Fl_Paged_Device::start_page (void) {return 1;} @@ -169,7 +169,7 @@ int Fl_Paged_Device::start_page (void) {return 1;} Values are in the same unit as that used by FLTK drawing functions, are unchanged by calls to origin(), but are changed by scale() calls. Values account for the user-selected paper type and print orientation. - @return 0 iff OK. + @return 0 if OK, non-zero if any error */ int Fl_Paged_Device::printable_rect(int *w, int *h) {return 1;} @@ -222,7 +222,7 @@ void Fl_Paged_Device::rotate(float angle) {} /** @brief To be called at the end of each page. * - @return 0 iff OK. + @return 0 if OK, non-zero if any error. */ int Fl_Paged_Device::end_page (void) {return 1;} diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx index bca764493..f1e9a8177 100644 --- a/src/Fl_PostScript.cxx +++ b/src/Fl_PostScript.cxx @@ -85,7 +85,7 @@ Fl_PostScript_Graphics_Driver *Fl_PostScript_File_Device::driver() @param pagecount The total number of pages to be created. @param format Desired page format. @param layout Desired page layout. - @return 0 iff OK, 1 if user cancelled the file dialog, 2 if fopen failed on user-selected output file. + @return 0 if OK, 1 if user cancelled the file dialog, 2 if fopen failed on user-selected output file. */ int Fl_PostScript_File_Device::start_job (int pagecount, enum Fl_Paged_Device::Page_Format format, enum Fl_Paged_Device::Page_Layout layout)