From 249016a60b0dd8f8db59202b963e53c8ada53095 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 19 Aug 2007 10:44:39 +0200 Subject: [PATCH] Fix updating of the view title to show the current position in the view It regressed in 11359638c5dfc91b4b14a003a0519b2a5bc7f89d. --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 7c380e4..0228007 100644 --- a/tig.c +++ b/tig.c @@ -1371,7 +1371,7 @@ update_view_title(struct view *view) assert(view_is_displayed(view)); - if (!VIEW(REQ_VIEW_STATUS) && (view->lines || view->pipe)) { + if (view != VIEW(REQ_VIEW_STATUS) && (view->lines || view->pipe)) { unsigned int view_lines = view->offset + view->height; unsigned int lines = view->lines ? MIN(view_lines, view->lines) * 100 / view->lines -- 2.30.2