summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/print.c10
-rw-r--r--desktop/printer.h8
2 files changed, 10 insertions, 8 deletions
diff --git a/desktop/print.c b/desktop/print.c
index 8f83f2d19..9b3b297d6 100644
--- a/desktop/print.c
+++ b/desktop/print.c
@@ -17,8 +17,8 @@
*/
/** \file
- * Output-in-pages implementation
-*/
+ * Implementation of paginated output.
+ */
#include "utils/config.h"
@@ -194,7 +194,7 @@ bool print_apply_settings(hlcache_handle *content,
if (settings == NULL)
return false;
- /*Apply settings - adjust page size etc*/
+ /* Apply settings - adjust page size etc */
page_content_width = (settings->page_width -
FIXTOFLT(FSUB(settings->margins[MARGINLEFT],
@@ -243,8 +243,8 @@ bool print_cleanup(hlcache_handle *content, const struct printer *printer,
* \param configuration the requested configuration
* \param filename the filename or NULL
* \param font handling functions
- * \return print_settings in case if successful, NULL if unknown configuration \
- * or lack of memory.
+ * \return print_settings in case if successful, NULL if unknown
+ * configuration or lack of memory.
*/
struct print_settings *print_make_settings(print_configuration configuration,
const char *filename, const struct font_functions *font_func)
diff --git a/desktop/printer.h b/desktop/printer.h
index 358922379..7fda8bdb0 100644
--- a/desktop/printer.h
+++ b/desktop/printer.h
@@ -17,9 +17,11 @@
*/
/** \file
- * Printer interface - contains plotter to use, functions for
- * initialization, handling pages and cleaning up.
-*/
+ * Printer interface.
+ *
+ * Interface to generic plotters, initialization, handling pages and
+ * cleaning up.
+ */
#ifndef NETSURF_DESKTOP_PRINTER_H
#define NETSURF_DESKTOP_PRINTER_H