mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.4142: build failure with normal features without persistent undo
Problem: Build failure with normal features without persistent undo. Solution: Adjust #ifdef. (closes #9557)
This commit is contained in:
parent
17dd519633
commit
b4868eddd9
@ -1300,7 +1300,7 @@ retry:
|
||||
cryptkey = check_for_cryptkey(cryptkey, ptr, &size,
|
||||
&filesize, newfile, sfname,
|
||||
&did_ask_for_key);
|
||||
# ifdef CRYPT_NOT_INPLACE
|
||||
# if defined(CRYPT_NOT_INPLACE) && defined(FEAT_PERSISTENT_UNDO)
|
||||
if (curbuf->b_cryptstate != NULL
|
||||
&& !crypt_works_inplace(curbuf->b_cryptstate))
|
||||
// reading undo file requires crypt_decode_inplace()
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4142,
|
||||
/**/
|
||||
4141,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user