summaryrefslogtreecommitdiffstats
path: root/src/proto/memline.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-06-09 18:35:25 +0200
committerBram Moolenaar <Bram@vim.org>2015-06-09 18:35:25 +0200
commitbc56336bb4501884257352446abb60713cef6452 (patch)
treebf4f55292e2e42533ceadfbd769aab281868a290 /src/proto/memline.pro
parent0481fee48800817bee206bb2f958fe04be4d8db6 (diff)
patch 7.4.730v7.4.730
Problem: When setting the crypt key and using a swap file, text may be encrypted twice or unencrypted text remains in the swap file. (Issue 369) Solution: Call ml_preserve() before re-encrypting. Set correct index for next pointer block.
Diffstat (limited to 'src/proto/memline.pro')
-rw-r--r--src/proto/memline.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/memline.pro b/src/proto/memline.pro
index 62a3ce6408..ff5d24a7c7 100644
--- a/src/proto/memline.pro
+++ b/src/proto/memline.pro
@@ -1,6 +1,6 @@
/* memline.c */
int ml_open __ARGS((buf_T *buf));
-void ml_set_crypt_key __ARGS((buf_T *buf, char_u *old_key, int old_cm));
+void ml_set_crypt_key __ARGS((buf_T *buf, char_u *old_key, char_u *old_cm));
void ml_setname __ARGS((buf_T *buf));
void ml_open_files __ARGS((void));
void ml_open_file __ARGS((buf_T *buf));