From 415de53cef9d8477e97fbee65403932cd45ed042 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 20 May 2006 18:42:26 +0200 Subject: [PATCH] In pager mode, fix entering commit lines from log and pager view --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.c b/tig.c index efea6f4..3c267af 100644 --- a/tig.c +++ b/tig.c @@ -1557,7 +1557,7 @@ pager_enter(struct view *view) int split = 0; if ((view == VIEW(REQ_VIEW_LOG) || - view == VIEW(REQ_VIEW_LOG)) && + view == VIEW(REQ_VIEW_PAGER)) && get_line_type(line) == LINE_COMMIT) { open_view(view, REQ_VIEW_DIFF, OPEN_SPLIT); split = 1; -- 2.30.2