summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-07-25 16:10:03 +0200
committerBram Moolenaar <Bram@vim.org>2012-07-25 16:10:03 +0200
commit5fb9ec5ed7a99e85f304b3450f9a8c6886fc779d (patch)
treea4a8064fee036443b816cc63916297cd4a5a702a /src/misc1.c
parent9581b5f70ea311bba35c537f0111a15bc96249c3 (diff)
downloadvim-5fb9ec5ed7a99e85f304b3450f9a8c6886fc779d.zip
updated for version 7.3.612
Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX) Solution: Decrement "less_cols". (Tor Perkins)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 348227206..69ede43ff 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -1329,6 +1329,7 @@ open_line(dir, flags, second_line_indent)
for (i = 0; i < padding; i++)
{
STRCAT(leader, " ");
+ less_cols--;
newcol++;
}
}