From 5becf24488b3a0a7b44518f53a8b3e577614a64c Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 16 Sep 2006 02:22:34 +0200 Subject: [PATCH] update_view_title: format load seconds as part of the state string --- tig.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tig.c b/tig.c index ef3fe0d..8a796fd 100644 --- a/tig.c +++ b/tig.c @@ -1335,14 +1335,14 @@ update_view_title(struct view *view) view->lineno + 1, view->lines, lines); - } - if (view->pipe) { - time_t secs = time(NULL) - view->start_time; + if (view->pipe) { + time_t secs = time(NULL) - view->start_time; - /* Three git seconds are a long time ... */ - if (secs > 2) - string_format_from(buf, &bufpos, " %lds", secs); + /* Three git seconds are a long time ... */ + if (secs > 2) + string_format_from(buf, &bufpos, " %lds", secs); + } } if (view == display[current_view]) -- 2.32.0.93.g670b81a890