summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-08-24 21:19:25 +0200
committerBram Moolenaar <Bram@vim.org>2014-08-24 21:19:25 +0200
commit95765089755c57d0d73252d4673c9d2deee337ff (patch)
tree8b60287fbbbdeed91e9fdce7d596987c27179d78 /src/charset.c
parent7b61a546d84ce50f278fcc84090b2d11dbe039eb (diff)
downloadvim-git-95765089755c57d0d73252d4673c9d2deee337ff.tar.gz
updated for version 7.4.416v7.4.416
Problem: Problem with breakindent/showbreak and tabs. Solution: Handle tabs differently. (Christian Brabandt)
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/charset.c b/src/charset.c
index e7aabe7ed..fcc41ec33 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1195,10 +1195,7 @@ win_lbr_chartabsize(wp, line, s, col, headp)
if (wp->w_p_bri)
added += get_breakindent_win(wp, line);
- if (tab_corr)
- size += (added / wp->w_buffer->b_p_ts) * wp->w_buffer->b_p_ts;
- else
- size += added;
+ size += added;
if (col != 0)
added = 0;
}