Mercurial > vim
changeset 7052:9ec3329823f9 v7.4.838
commit https://github.com/vim/vim/commit/8060687905bdadc46abb68ee6d40e5660e352297
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 25 21:27:35 2015 +0200
patch 7.4.838
Problem: Can't compile without the crypt feature. (John Marriott)
Solution: Add #ifdef.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 25 Aug 2015 21:30:04 +0200 |
parents | eff26a8620ce |
children | 82e733b48c8b |
files | src/option.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -3654,8 +3654,11 @@ set_options_default(opt_flags) if (!(options[i].flags & P_NODEFAULT) && (opt_flags == 0 || (options[i].var != (char_u *)&p_enc +#if defined(FEAT_CRYPT) && options[i].var != (char_u *)&p_cm - && options[i].var != (char_u *)&p_key))) + && options[i].var != (char_u *)&p_key +#endif + ))) set_option_default(i, opt_flags, p_cp); #ifdef FEAT_WINDOWS