diff options
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c index 76101bac5..336bf3ba7 100644 --- a/src/list.c +++ b/src/list.c @@ -1217,6 +1217,7 @@ list_copy(list_T *orig, int deep, int copyID) copy = list_alloc(); if (copy != NULL) { + copy->lv_type = orig->lv_type; if (copyID != 0) { // Do this before adding the items, because one of the items may |