1
0
forked from aniani/vim

Change 'cryptmethod' from a number to a string option. Make it global-local.

This commit is contained in:
Bram Moolenaar
2010-07-20 17:32:38 +02:00
parent c7040a5615
commit 49771f4fb0
14 changed files with 176 additions and 82 deletions

View File

@@ -11189,7 +11189,7 @@ ex_match(eap)
ex_X(eap)
exarg_T *eap UNUSED;
{
if (curbuf->b_p_cm == 0 || blowfish_self_test() == OK)
if (get_crypt_method(curbuf) == 0 || blowfish_self_test() == OK)
(void)get_crypt_key(TRUE, TRUE);
}
#endif