summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 531c6c6)
raw | patch | inline | side by side (parent: 531c6c6)
author | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 19 Aug 2007 08:44:39 +0000 (10:44 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 19 Aug 2007 08:44:39 +0000 (10:44 +0200) |
tig.c | patch | blob | history |
index 7c380e4ef9e5ab8dcfad29697d2547cabb36f840..02280070025b7a060ed2708b4d8a34b107cc2099 100644 (file)
--- a/tig.c
+++ b/tig.c
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