diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/print.c | 3 | ||||
-rw-r--r-- | desktop/print.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/desktop/print.c b/desktop/print.c index e7c8cf2fa..37172b7c1 100644 --- a/desktop/print.c +++ b/desktop/print.c @@ -179,7 +179,8 @@ bool print_draw_next_page(const struct printer *printer, struct redraw_context ctx = { .interactive = false, .background_images = !nsoption_bool(remove_backgrounds), - .plot = printer->plotter + .plot = printer->plotter, + .priv = settings->priv }; html_redraw_printing_top_cropped = INT_MAX; diff --git a/desktop/print.h b/desktop/print.h index fb1fd63ac..c3cb79914 100644 --- a/desktop/print.h +++ b/desktop/print.h @@ -61,6 +61,9 @@ struct print_settings{ /*the functions used to measure fonts*/ const struct gui_layout_table *font_func; + + /* Private data for the plotter context */ + const void *priv; }; |