From cde9d7846583321d73f65e515aaaad75797650b9 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Thu, 24 Mar 2016 19:22:10 +0100 Subject: [PATCH] Bug 693342 - Print (bottom) prints to middle for 3-check pages --- src/gnome/dialog-print-check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gnome/dialog-print-check.c b/src/gnome/dialog-print-check.c index 3ee4f0f2a8..ed3fd18949 100644 --- a/src/gnome/dialog-print-check.c +++ b/src/gnome/dialog-print-check.c @@ -2256,8 +2256,8 @@ draw_check_format(GtkPrintContext *context, gint position, /* Standard positioning is used. * Note that the first check on the page (position 0) doesn't * need to be moved (hence the test for position > 0 above. */ - cairo_translate(cr, 0, format->height); - g_debug("Position %d translated by %f (pre-defined)", position, format->height); + cairo_translate(cr, 0, position * format->height); + g_debug("Position %d translated by %f (pre-defined)", position, position * format->height); } else if (position == pcd->position_max) {