From 64b9872e363cf093dd79dd17e8d44def6167ecd8 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Thu, 3 Aug 2017 15:34:46 +0100 Subject: [PATCH] Return the vertical split borders to light --- src/register/ledger-core/split-register-model.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/register/ledger-core/split-register-model.c b/src/register/ledger-core/split-register-model.c index c5389a88eb..e299fcaaf7 100644 --- a/src/register/ledger-core/split-register-model.c +++ b/src/register/ledger-core/split-register-model.c @@ -746,8 +746,13 @@ gnc_split_register_get_border (VirtualLocation virt_loc, { borders->top = CELL_BORDER_LINE_LIGHT; borders->bottom = CELL_BORDER_LINE_LIGHT; - borders->left = MIN (borders->left, CELL_BORDER_LINE_NORMAL); - borders->right = MIN (borders->right, CELL_BORDER_LINE_NORMAL); + borders->left = MIN (borders->left, CELL_BORDER_LINE_LIGHT); + borders->right = MIN (borders->right, CELL_BORDER_LINE_LIGHT); + + if (virt_loc.phys_col_offset == vcell->cellblock->start_col) + borders->left = CELL_BORDER_LINE_NORMAL; + if (virt_loc.phys_col_offset == vcell->cellblock->stop_col) + borders->right = CELL_BORDER_LINE_NORMAL; } }