Mercurial > vim
changeset 1403:871231399cf5 v7.1.118
updated for version 7.1-118
author | vimboss |
---|---|
date | Tue, 25 Sep 2007 12:20:19 +0000 |
parents | 004eb98eb3c3 |
children | b00bc2bf23eb |
files | src/ops.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -2605,7 +2605,7 @@ op_change(oap) /* Auto-indenting may have changed the indent. If the cursor was past * the indent, exclude that indent change from the inserted text. */ firstline = ml_get(oap->start.lnum); - if (bd.textcol > pre_indent) + if (bd.textcol > (colnr_T)pre_indent) { long new_indent = (long)(skipwhite(firstline) - firstline);