Mercurial > vim
changeset 882:6b89fd4ffcc6 v7.0.008
updated for version 7.0-008
author | vimboss |
---|---|
date | Sat, 13 May 2006 11:33:27 +0000 |
parents | 48775ea99f24 |
children | 7c28790fa8b4 |
files | src/eval.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -11372,7 +11372,7 @@ f_input(argvars, rettv) if (argvars[2].v_type != VAR_UNKNOWN) { char_u *xp_name; - int xp_namelen; + int xp_namelen; long argt; rettv->vval.v_string = NULL; @@ -18963,7 +18963,8 @@ trans_function_name(pp, skip, flags, fdp else if (lead > 0) { lead = 3; - if (eval_fname_sid(lv.ll_exp_name != NULL ? lv.ll_exp_name : *pp)) + if ((lv.ll_exp_name != NULL && eval_fname_sid(lv.ll_exp_name)) + || eval_fname_sid(*pp)) { /* It's "s:" or "<SID>" */ if (current_SID <= 0)