From: Jonas Fonseca Date: Sun, 19 Aug 2007 08:44:39 +0000 (+0200) Subject: Fix updating of the view title to show the current position in the view X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=249016a60b0dd8f8db59202b963e53c8ada53095;p=tig.git Fix updating of the view title to show the current position in the view It regressed in 11359638c5dfc91b4b14a003a0519b2a5bc7f89d. --- 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