summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-30 20:40:11 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-30 20:40:11 +0200
commit6ed8ed84f970dd2cdb7cbcb71746665cece4d063 (patch)
treed0e47372810fec843ef0f95505737275bf5264d8 /src/fileio.c
parentfd3e5dc97f06e54220a2c5b65980dd6adc2c5555 (diff)
Made reading/writing undo info a bit more robust.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index f8375c65d8..101c804de8 100644
--- 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