summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-08-10 14:32:39 +0200
committerBram Moolenaar <Bram@vim.org>2011-08-10 14:32:39 +0200
commit8a20b0f25ebe3baae2044c5a6650b376e6971835 (patch)
treeaa496044b794b2ceacd05a8d9c33c482520acb27
parent836082d398eb1dff8fb9fc6227f70ea56044eeba (diff)
updated for version 7.3.274v7.3.274
Problem: With concealed characters tabs do not have the right size. Solution: Use VCOL_HLC instead of vcol. (Eiichi Sato)
-rw-r--r--src/screen.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 1726fac82a..40d48ee22f 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4252,7 +4252,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
{
/* tab amount depends on current column */
n_extra = (int)wp->w_buffer->b_p_ts
- - vcol % (int)wp->w_buffer->b_p_ts - 1;
+ - VCOL_HLC % (int)wp->w_buffer->b_p_ts - 1;
#ifdef FEAT_MBYTE
mb_utf8 = FALSE; /* don't draw as UTF-8 */
#endif
diff --git a/src/version.c b/src/version.c
index 60defc7e09..8ae028c868 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 274,
+/**/
273,
/**/
272,