quickfix: Fix :cexpr and :lexpr

This commit is contained in:
ZyX
2017-12-10 22:33:05 +03:00
parent 5008205a3e
commit 83f77c80c0
2 changed files with 4 additions and 9 deletions

View File

@@ -4403,7 +4403,7 @@ void ex_cexpr(exarg_T *eap)
typval_T tv;
if (eval0(eap->arg, &tv, NULL, true) != FAIL) {
if ((tv.v_type == VAR_STRING && tv.vval.v_string != NULL)
|| (tv.v_type == VAR_LIST && tv.vval.v_list != NULL)) {
|| tv.v_type == VAR_LIST) {
if (qf_init_ext(qi, NULL, NULL, &tv, p_efm,
(eap->cmdidx != CMD_caddexpr
&& eap->cmdidx != CMD_laddexpr),