diff src/ops.c @ 1403:871231399cf5 v7.1.118

updated for version 7.1-118
author vimboss
date Tue, 25 Sep 2007 12:20:19 +0000
parents 27782797c331
children 2cdccc96d730
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);