vim-patch:7.4.286 #750

Problem:    Error messages are inconsistant. (ZyX)
Solution:   Change "Lists" to "list".

https://code.google.com/p/vim/source/detail?r=be19015ef43cc17825929206790696c2e716035d
This commit is contained in:
oni-link
2014-05-22 12:01:59 +02:00
committed by Justin M. Keyes
parent f68bf38547
commit 82d11c0772
2 changed files with 5 additions and 3 deletions

View File

@@ -3438,10 +3438,11 @@ static int eval4(char_u **arg, typval_T *rettv, int evaluate)
n1 = !n1;
} else if (rettv->v_type != var2.v_type
|| (type != TYPE_EQUAL && type != TYPE_NEQUAL)) {
if (rettv->v_type != var2.v_type)
if (rettv->v_type != var2.v_type) {
EMSG(_("E691: Can only compare List with List"));
else
EMSG(_("E692: Invalid operation for Lists"));
} else {
EMSG(_("E692: Invalid operation for List"));
}
clear_tv(rettv);
clear_tv(&var2);
return FAIL;