aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 67606f99f..594edfd51 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));
}