Return the vertical split borders to light

This commit is contained in:
Robert Fewell 2017-08-03 15:34:46 +01:00
parent 54677d37c4
commit 64b9872e36

View File

@ -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;
}
}