From: Denis Vlasenko Date: Tue, 17 Jul 2007 23:22:49 +0000 (-0000) Subject: vi: style fixlet X-Git-Tag: 1_7_0~127 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=91afdf8096c3f3e434686d1b585ab5cde72c9f03;p=oweals%2Fbusybox.git vi: style fixlet --- 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)); }