summaryrefslogtreecommitdiffstats
path: root/src/list.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-05 16:33:56 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-05 16:33:56 +0200
commit35422f45ba01806d357994f18cb9af64980c67e6 (patch)
tree1fbcc82b2d890811a245e9b0323284edc547824a /src/list.c
parentd53109886bc9c4fa7a9c9a402c90fe349b2dd7ac (diff)
patch 8.0.0867: job and channel in a dict value not quotedv8.0.0867
Problem: When using a job or channel value as a dict value, when turning it into a string the quotes are missing. Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto, closes #1930)
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index 2fccbae764..b593f71719 100644
--- a/src/list.c
+++ b/src/list.c
@@ -740,7 +740,7 @@ list_join_inner(
for (item = l->lv_first; item != NULL && !got_int; item = item->li_next)
{
s = echo_string_core(&item->li_tv, &tofree, numbuf, copyID,
- echo_style, restore_copyID, FALSE);
+ echo_style, restore_copyID, !echo_style);
if (s == NULL)
return FAIL;