summaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index e401c73fa..b6f030051 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -4860,7 +4860,8 @@ findswapname(
* (happens when all .swp files are in one directory).
*/
if (!recoverymode && buf_fname != NULL
- && !buf->b_help && !(buf->b_flags & BF_DUMMY))
+ && !buf->b_help
+ && !(buf->b_flags & (BF_DUMMY | BF_NO_SEA)))
{
int fd;
struct block0 b0;