From ca0809dbd20a31f6fa9b84c7eed5ecaa1368cd9d Mon Sep 17 00:00:00 2001 From: Thomas Koutcher Date: Fri, 29 Nov 2019 19:42:51 +0100 Subject: [PATCH] Fix cursor position after "Move to parent" in blame view Fixes #973 --- src/blame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blame.c b/src/blame.c index 020e4db63..9e0fa6092 100644 --- a/src/blame.c +++ b/src/blame.c @@ -425,7 +425,7 @@ blame_go_forward(struct view *view, struct blame *blame, bool parent) string_ncopy(view->env->file, filename, strlen(filename)); if (parent) setup_blame_parent_line(view, blame); - view->env->goto_lineno = blame->lineno; + view->env->goto_lineno = view->pos.lineno; reload_view(view); }