chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3c112a8
)
update_view_title: format load seconds as part of the state string
author
Jonas Fonseca
<fonseca@diku.dk>
Sat, 16 Sep 2006 00:22:34 +0000
(
02:22
+0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Sat, 16 Sep 2006 00:23:15 +0000
(
02:23
+0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index ef3fe0daba90278343cf406c9b3a0ca5cd6f804b..8a796fd25bebf140353037ec28871517025867fb 100644
(file)
--- 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])