summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-20 17:32:38 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-20 17:32:38 +0200
commit49771f4fb03349d87e42c12305ebd5b307f3c2bd (patch)
tree89eb7ec2a47e0e9582b45b7586c43b70fa53dc1b /src/ex_docmd.c
parentc7040a5615827cefe0edbdf7f69c6640fa1aa1e1 (diff)
Change 'cryptmethod' from a number to a string option. Make it global-local.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index b56fb670b1..2d1a893d5a 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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