From d93f1df6c4e14f1e8d98c9466d1a09c420d13e54 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 5 Nov 2002 17:12:02 +0000 Subject: fix indent --- display.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'display.c') diff --git a/display.c b/display.c index 7f62f00..6a971e5 100644 --- a/display.c +++ b/display.c @@ -1,4 +1,4 @@ -/* $Id: display.c,v 1.26 2002/11/05 17:10:05 ukai Exp $ */ +/* $Id: display.c,v 1.27 2002/11/05 17:12:02 ukai Exp $ */ #include #include "fm.h" @@ -444,7 +444,7 @@ redrawNLine(Buffer *buf, int n) x = col * (i % nx) / nx; move(i / nx, x); if (t == CurrentTab) - bold(); + bold(); addch('['); l = strlen(t->currentBuffer->buffername); if (col / nx - 2 > l) @@ -459,7 +459,7 @@ redrawNLine(Buffer *buf, int n) move(i / nx, x); addch(']'); if (t == CurrentTab) - boldend(); + boldend(); clrtoeol(); } move(0, col); @@ -1221,10 +1221,11 @@ arrangeCursor(Buffer *buf) return; /* Arrange line */ if (buf->currentLine->linenumber - buf->topLine->linenumber >= LASTLINE - - buf->rootY || buf->currentLine->linenumber < buf->topLine->linenumber) { -/* - buf->topLine = buf->currentLine; -*/ + buf->rootY + || buf->currentLine->linenumber < buf->topLine->linenumber) { + /* + * buf->topLine = buf->currentLine; + */ buf->topLine = lineSkip(buf, buf->currentLine, 0, FALSE); } /* Arrange column */ -- cgit v1.2.3