diff src/fileio.c @ 625:81fe2ccc1207 v7.0179

updated for version 7.0179
author vimboss
date Thu, 12 Jan 2006 23:22:24 +0000
parents 4096208d2a50
children efb7557aea10
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -6405,7 +6405,7 @@ buf_reload(buf)
 		/* Open the memline. */
 		curbuf = savebuf;
 		curwin->w_buffer = savebuf;
-		saved = ml_open();
+		saved = ml_open(curbuf);
 		curbuf = buf;
 		curwin->w_buffer = buf;
 	    }