summaryrefslogtreecommitdiffstats
path: root/src/hashtab.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-11 20:36:36 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-11 20:36:36 +0200
commit0e655111e9dbdbdf69fee1b199f2b9c355bf4a10 (patch)
tree8c34c0088f48c5687c1ab49a6cebfe35d1a925db /src/hashtab.c
parentc6a67c92bcbf4ef09063814af0c65d3e0585ada0 (diff)
patch 8.2.1662: :mksession does not restore shared terminal buffer properlyv8.2.1662
Problem: :mksession does not restore shared terminal buffer properly. Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
Diffstat (limited to 'src/hashtab.c')
-rw-r--r--src/hashtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashtab.c b/src/hashtab.c
index f114b28808..dc0cbb6b86 100644
--- a/src/hashtab.c
+++ b/src/hashtab.c
@@ -81,7 +81,7 @@ hash_clear(hashtab_T *ht)
vim_free(ht->ht_array);
}
-#if defined(FEAT_SPELL) || defined(PROTO)
+#if defined(FEAT_SPELL) || defined(FEAT_TERMINAL) || defined(PROTO)
/*
* Free the array of a hash table and all the keys it contains. The keys must
* have been allocated. "off" is the offset from the start of the allocate