summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8855ada)
raw | patch | inline | side by side (parent: 8855ada)
author | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 12 May 2006 10:32:22 +0000 (12:32 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Fri, 12 May 2006 10:32:22 +0000 (12:32 +0200) |
tig.c | patch | blob | history |
index c210699c4a83e15321f6573830f6d6831ce33d62..eb7373c96f0450c7c5f10d4ff1dc2f8d0d9bf3e5 100644 (file)
--- a/tig.c
+++ b/tig.c
resize_display();
- if (split && prev->lineno - prev->offset > prev->height) {
+ if (split && prev->lineno - prev->offset >= prev->height) {
/* Take the title line into account. */
int lines = prev->lineno - prev->height + 1;