From: Jonas Fonseca Date: Sat, 20 May 2006 16:42:26 +0000 (+0200) Subject: In pager mode, fix entering commit lines from log and pager view X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=415de53cef9d8477e97fbee65403932cd45ed042;p=tig.git In pager mode, fix entering commit lines from log and pager view --- 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;