1
0
forked from aniani/vim

updated for version 7.2a-005

This commit is contained in:
Bram Moolenaar
2008-06-27 19:17:34 +00:00
parent 4a630f6fc4
commit ed0e745361
3 changed files with 7 additions and 5 deletions

View File

@@ -18502,11 +18502,11 @@ get_tv_number_chk(varp, denote)
return (long)(varp->vval.v_number); return (long)(varp->vval.v_number);
#ifdef FEAT_FLOAT #ifdef FEAT_FLOAT
case VAR_FLOAT: case VAR_FLOAT:
EMSG(_("E805: Using a Float as a number")); EMSG(_("E805: Using a Float as a Number"));
break; break;
#endif #endif
case VAR_FUNC: case VAR_FUNC:
EMSG(_("E703: Using a Funcref as a number")); EMSG(_("E703: Using a Funcref as a Number"));
break; break;
case VAR_STRING: case VAR_STRING:
if (varp->vval.v_string != NULL) if (varp->vval.v_string != NULL)
@@ -18514,10 +18514,10 @@ get_tv_number_chk(varp, denote)
TRUE, TRUE, &n, NULL); TRUE, TRUE, &n, NULL);
return n; return n;
case VAR_LIST: case VAR_LIST:
EMSG(_("E745: Using a List as a number")); EMSG(_("E745: Using a List as a Number"));
break; break;
case VAR_DICT: case VAR_DICT:
EMSG(_("E728: Using a Dictionary as a number")); EMSG(_("E728: Using a Dictionary as a Number"));
break; break;
default: default:
EMSG2(_(e_intern2), "get_tv_number()"); EMSG2(_(e_intern2), "get_tv_number()");

View File

@@ -3203,7 +3203,7 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit,
else else
{ {
errnum = (char_u *)"E656: "; errnum = (char_u *)"E656: ";
errmsg = (char_u *)_("NetBeans dissallows writes of unmodified buffers"); errmsg = (char_u *)_("NetBeans disallows writes of unmodified buffers");
buffer = NULL; buffer = NULL;
goto fail; goto fail;
} }

View File

@@ -676,6 +676,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
5,
/**/ /**/
4, 4,
/**/ /**/