From fc3058495d3ff58c8f2b9dd4452d0840f2d1fa42 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 19 Aug 2023 13:27:03 +0200 Subject: patch 9.0.1745: Missing test coverage for blockwise Visual highlight Problem: Missing test coverage for blockwise Visual highlight with virtual that starts with a double-width char. Solution: Add a new virtual text to the test. Some other small fixes. closes: #12835 Signed-off-by: Christian Brabandt Co-authored-by: zeertzjq --- src/dict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dict.c') diff --git a/src/dict.c b/src/dict.c index ccd0b5dac2..ce807350cd 100644 --- a/src/dict.c +++ b/src/dict.c @@ -1497,7 +1497,7 @@ dict2list(typval_T *argvars, typval_T *rettv, dict2list_T what) d = argvars[0].vval.v_dict; if (d == NULL) - // empty dict behaves like an empty dict + // NULL dict behaves like an empty dict return; todo = (int)d->dv_hashtab.ht_used; -- cgit v1.2.3