summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko2007-07-17 23:22:49 +0000
committerDenis Vlasenko2007-07-17 23:22:49 +0000
commit91afdf8096c3f3e434686d1b585ab5cde72c9f03 (patch)
treef8048ba181a7252a227230f047b501087e6339ae /editors
parenta3d15c8be7493634a07f8c8cc5585dacf5aa20f3 (diff)
downloadbusybox-91afdf8096c3f3e434686d1b585ab5cde72c9f03.zip
busybox-91afdf8096c3f3e434686d1b585ab5cde72c9f03.tar.gz
vi: style fixlet
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 67606f9..594edfd 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -1134,7 +1134,8 @@ static void Hit_Return(void)
redraw(TRUE); // force redraw all
}
-static int next_tabstop(int col) { //vda
+static int next_tabstop(int col)
+{
return col + ((tabstop - 1) - (col % tabstop));
}