diff src/eval.c @ 1800:e7633eb32cfd v7.2.098

updated for version 7.2-098
author vimboss
date Wed, 04 Feb 2009 15:27:06 +0000
parents 54d5eb36689f
children e7f6ca5594cf
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -3928,7 +3928,7 @@ eval0(arg, rettv, nextcmd, evaluate)
 
 /*
  * Handle top level expression:
- *	expr1 ? expr0 : expr0
+ *	expr2 ? expr1 : expr1
  *
  * "arg" must point to the first non-white of the expression.
  * "arg" is advanced to the next non-white after the recognized expression.
@@ -19912,7 +19912,7 @@ ex_function(eap)
 						      : eval_isnamec(arg[j])))
 		++j;
 	    if (arg[j] != NUL)
-		emsg_funcname(e_invarg2, arg);
+		emsg_funcname((char *)e_invarg2, arg);
 	}
     }