changeset 925:3d842a9e2bae v7.0.051

updated for version 7.0-051
author vimboss
date Fri, 11 Aug 2006 20:55:20 +0000
parents ba9375e24d49
children bde3b38593f9
files src/if_perl.xs src/version.c
diffstat 2 files changed, 20 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -1068,31 +1068,30 @@ Set(vimbuf, ...)
 	    line = SvPV(ST(i),PL_na);
 	    if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
 	    {
-    #ifdef FEAT_AUTOCMD
+#ifdef FEAT_AUTOCMD
 		aco_save_T	aco;
 
 		/* set curwin/curbuf for "vimbuf" and save some things */
 		aucmd_prepbuf(&aco, vimbuf);
-    #else
+#else
 		buf_T	*save_curbuf = curbuf;
 
 		curbuf = vimbuf;
 		curwin->w_buffer = vimbuf;
-    #endif
+#endif
 		if (u_savesub(lnum) == OK)
 		{
 		    ml_replace(lnum, (char_u *)line, TRUE);
 		    changed_bytes(lnum, 0);
 		}
-
-    #ifdef FEAT_AUTOCMD
+#ifdef FEAT_AUTOCMD
 		/* restore curwin/curbuf and a few other things */
 		aucmd_restbuf(&aco);
 		/* Careful: autocommands may have made "vimbuf" invalid! */
-    #else
+#else
 		curwin->w_buffer = save_curbuf;
 		curbuf = save_curbuf;
-    #endif
+#endif
 	    }
 	}
     }
@@ -1130,15 +1129,15 @@ Delete(vimbuf, ...)
 		if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count)
 		{
 		    buf_T	*save_curbuf = curbuf;
-    #ifdef FEAT_AUTOCMD
+#ifdef FEAT_AUTOCMD
 		    aco_save_T	aco;
 
 		    /* set curwin/curbuf for "vimbuf" and save some things */
 		    aucmd_prepbuf(&aco, vimbuf);
-    #else
+#else
 		    curbuf = vimbuf;
 		    curwin->w_buffer = vimbuf;
-    #endif
+#endif
 		    if (u_savedel(lnum, 1) == OK)
 		    {
 			ml_delete(lnum, 0);
@@ -1146,14 +1145,14 @@ Delete(vimbuf, ...)
 			if (save_curbuf == curbuf)
 			    check_cursor();
 		    }
-    #ifdef FEAT_AUTOCMD
+#ifdef FEAT_AUTOCMD
 		    /* restore curwin/curbuf and a few other things */
 		    aucmd_restbuf(&aco);
 		    /* Careful: autocommands may have made "vimbuf" invalid! */
-    #else
+#else
 		    curwin->w_buffer = save_curbuf;
 		    curbuf = save_curbuf;
-    #endif
+#endif
 		    update_curbuf(VALID);
 		}
 	    }
@@ -1180,31 +1179,30 @@ Append(vimbuf, ...)
 	    line = SvPV(ST(i),PL_na);
 	    if (lnum >= 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
 	    {
-    #ifdef FEAT_AUTOCMD
+#ifdef FEAT_AUTOCMD
 		aco_save_T	aco;
 
 		/* set curwin/curbuf for "vimbuf" and save some things */
 		aucmd_prepbuf(&aco, vimbuf);
-    #else
+#else
 		buf_T	*save_curbuf = curbuf;
 
 		curbuf = vimbuf;
 		curwin->w_buffer = vimbuf;
-    #endif
+#endif
 		if (u_inssub(lnum + 1) == OK)
 		{
 		    ml_append(lnum, (char_u *)line, (colnr_T)0, FALSE);
 		    appended_lines_mark(lnum, 1L);
 		}
-
-    #ifdef FEAT_AUTOCMD
+#ifdef FEAT_AUTOCMD
 		/* restore curwin/curbuf and a few other things */
 		aucmd_restbuf(&aco);
 		/* Careful: autocommands may have made "vimbuf" invalid! */
-    #else
+#else
 		curwin->w_buffer = save_curbuf;
 		curbuf = save_curbuf;
-    #endif
+#endif
 		update_curbuf(VALID);
 	    }
 	}
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    51,
+/**/
     50,
 /**/
     49,