To: vim-dev@vim.org Subject: Patch 7.2a.005 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 7.2a.005 Problem: A few error messages use confusing names. Misspelling. Solution: Change "dissallows" to "disallows". (Dominique Pelle) Change "number" to "Number". Files: src/eval.c, src/fileio.c *** ../vim-7.2a.004/src/eval.c Fri Jun 27 20:25:15 2008 --- src/eval.c Fri Jun 27 20:47:27 2008 *************** *** 18502,18512 **** return (long)(varp->vval.v_number); #ifdef FEAT_FLOAT case VAR_FLOAT: ! EMSG(_("E805: Using a Float as a number")); break; #endif case VAR_FUNC: ! EMSG(_("E703: Using a Funcref as a number")); break; case VAR_STRING: if (varp->vval.v_string != NULL) --- 18502,18512 ---- return (long)(varp->vval.v_number); #ifdef FEAT_FLOAT case VAR_FLOAT: ! EMSG(_("E805: Using a Float as a Number")); break; #endif case VAR_FUNC: ! EMSG(_("E703: Using a Funcref as a Number")); break; case VAR_STRING: if (varp->vval.v_string != NULL) *************** *** 18514,18523 **** TRUE, TRUE, &n, NULL); return n; case VAR_LIST: ! EMSG(_("E745: Using a List as a number")); break; case VAR_DICT: ! EMSG(_("E728: Using a Dictionary as a number")); break; default: EMSG2(_(e_intern2), "get_tv_number()"); --- 18514,18523 ---- TRUE, TRUE, &n, NULL); return n; case VAR_LIST: ! EMSG(_("E745: Using a List as a Number")); break; case VAR_DICT: ! EMSG(_("E728: Using a Dictionary as a Number")); break; default: EMSG2(_(e_intern2), "get_tv_number()"); *** ../vim-7.2a.004/src/fileio.c Fri Jun 27 20:41:33 2008 --- src/fileio.c Fri Jun 27 21:00:17 2008 *************** *** 3203,3209 **** else { errnum = (char_u *)"E656: "; ! errmsg = (char_u *)_("NetBeans dissallows writes of unmodified buffers"); buffer = NULL; goto fail; } --- 3203,3209 ---- else { errnum = (char_u *)"E656: "; ! errmsg = (char_u *)_("NetBeans disallows writes of unmodified buffers"); buffer = NULL; goto fail; } *** ../vim-7.2a.004/src/version.c Fri Jun 27 20:57:25 2008 --- src/version.c Fri Jun 27 21:06:45 2008 *************** *** 678,679 **** --- 678,681 ---- { /* Add new patch number below this line */ + /**/ + 5, /**/ -- hundred-and-one symptoms of being an internet addict: 102. When filling out your driver's license application, you give your IP address. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///