aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-05 17:12:02 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-05 17:12:02 +0000
commitd93f1df6c4e14f1e8d98c9466d1a09c420d13e54 (patch)
tree7837ef1881c79090267e0ee94653d0121db61f62 /display.c
parent[w3m-dev 03372] tab browser (diff)
downloadw3m-d93f1df6c4e14f1e8d98c9466d1a09c420d13e54.tar.gz
w3m-d93f1df6c4e14f1e8d98c9466d1a09c420d13e54.zip
fix indent
Diffstat (limited to 'display.c')
-rw-r--r--display.c15
1 files changed, 8 insertions, 7 deletions
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 <signal.h>
#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 */