diff options
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 8b94ad8833..006c5c02cf 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1752,8 +1752,8 @@ eti_draw (GnomeCanvasItem *item, GdkDrawable *drawable, gint x, gint y, gint wid * First column to draw, last column to draw */ first_col = -1; - last_col = x_offset = 0; - x1 = x2 = floor (eti_base.x); + x_offset = 0; + x1 = floor (eti_base.x); for (col = 0; col < cols; col++, x1 = x2) { ETableCol *ecol = e_table_header_get_column (eti->header, col); @@ -3443,10 +3443,8 @@ e_table_item_print_page (EPrintable *ep, gp_draw_rect(context, xd, height, 1, yd - height); } - if (next_page) { + if (next_page) cairo_show_page (cr); - next_page = 0; - } g_free (widths); } |