summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-10 13:01:20 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-10 13:01:20 +0100
commit1a2040bc726b151a1d1b1459ae0fbccef66d7d82 (patch)
tree778326d43c259b786eb574e3ad3ce7c8a5a1ed16 /desktop
parentad22d5446cfc62cb69023de2dcdd86b3b680fc98 (diff)
downloadnetsurf-1a2040bc726b151a1d1b1459ae0fbccef66d7d82.tar.gz
netsurf-1a2040bc726b151a1d1b1459ae0fbccef66d7d82.tar.bz2
Trivial sepelling, documentation and whitespace cleanups
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