diff src/fileio.c @ 2238:3d0a7beb0d75 vim73

Made reading/writing undo info a bit more robust.
author Bram Moolenaar <bram@vim.org>
date Sun, 30 May 2010 20:40:11 +0200
parents 120502692d82
children 732cb7b31956
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2588,7 +2588,7 @@ failed:
 	char_u	hash[UNDO_HASH_SIZE];
 
 	sha256_finish(&sha_ctx, hash);
-	u_read_undo(NULL, hash);
+	u_read_undo(NULL, hash, fname);
     }
 #endif