diff src/fileio.c @ 1558:2c4ca49319a6 v7.1.271

updated for version 7.1-271
author vimboss
date Tue, 11 Mar 2008 21:02:00 +0000
parents e72e30c69d58
children ebe059f69b9e
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -9239,7 +9239,7 @@ aucmd_prepbuf(aco, buf)
     aco_save_T	*aco;		/* structure to save values in */
     buf_T	*buf;		/* new curbuf */
 {
-    aco->save_buf = buf;
+    aco->save_buf = curbuf;
     curbuf = buf;
     curwin->w_buffer = buf;
 }