From 9b0d0bed9b0f412adebe9a8a97ef1f8f619dbd16 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 22 Apr 2009 17:26:46 +0800 Subject: [PATCH] Compensate cell border for gridline thickness --- lib/gtk-contrib/psppire-sheet.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gtk-contrib/psppire-sheet.c b/lib/gtk-contrib/psppire-sheet.c index b88b659e..47c429a0 100644 --- a/lib/gtk-contrib/psppire-sheet.c +++ b/lib/gtk-contrib/psppire-sheet.c @@ -3086,6 +3086,8 @@ psppire_sheet_draw_border (PsppireSheet *sheet, PsppireSheetRange new_range) rectangle_from_range (sheet, &new_range, &area); + area.width ++; + area.height ++; gdk_gc_set_clip_rectangle (sheet->xor_gc, &area); -- 2.30.2