commit | b8dc4d4cdf95bac309bfff342da0eee5159c1c7e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Sep 25 12:20:19 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Sep 25 12:20:19 2007 +0000 |
tree | a96dda410f9eb8bb14dbc4d25578628bc3f74833 | |
parent | 7b188629209a19f21b11c665581ff3dcfd7b4d46 [diff] [blame] |
updated for version 7.1-118
diff --git a/src/ops.c b/src/ops.c index 29fac4c..8f00314 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -2605,7 +2605,7 @@ /* 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);