diff options
Diffstat (limited to 'etc.c')
-rw-r--r-- | etc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.31 2002/11/05 17:10:05 ukai Exp $ */ +/* $Id: etc.c,v 1.32 2002/11/05 17:12:02 ukai Exp $ */ #include "fm.h" #include <pwd.h> #include "myctype.h" @@ -92,7 +92,8 @@ lineSkip(Buffer *buf, Line *line, int offset, int last) if (!nextpage_topline) #endif for (i = (LASTLINE - 1 - buf->rootY) - (buf->lastLine->linenumber - - l->linenumber); i > 0 && l->prev != NULL; i--, l = l->prev) ; + - l->linenumber); + i > 0 && l->prev != NULL; i--, l = l->prev) ; return l; } |