summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/memline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index ce1592637..16b3b3561 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -478,7 +478,7 @@ ml_set_crypt_key(buf, old_key, old_cm)
blocknr_T bnum;
int top;
- if (mfp == NULL || mfp->mf_fd < 0)
+ if (mfp == NULL)
return; /* no memfile yet, nothing to do */
/* Set the key, method and seed to be used for reading, these must be the