diff src/proto/undo.pro @ 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 dc2e5ec0500d
children 941ff1cd317a
line wrap: on
line diff
--- a/src/proto/undo.pro
+++ b/src/proto/undo.pro
@@ -9,7 +9,7 @@ int undo_allowed __ARGS((void));
 void u_compute_hash __ARGS((char_u *hash));
 char_u *u_get_undo_file_name __ARGS((char_u *buf_ffname, int reading));
 void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash));
-void u_read_undo __ARGS((char_u *name, char_u *hash));
+void u_read_undo __ARGS((char_u *name, char_u *hash, char_u *orig_name));
 void u_undo __ARGS((int count));
 void u_redo __ARGS((int count));
 void undo_time __ARGS((long step, int sec, int absolute));