Blame SOURCES/7.4.193

d6ba96
To: vim_dev@googlegroups.com
d6ba96
Subject: Patch 7.4.193
d6ba96
Fcc: outbox
d6ba96
From: Bram Moolenaar <Bram@moolenaar.net>
d6ba96
Mime-Version: 1.0
d6ba96
Content-Type: text/plain; charset=UTF-8
d6ba96
Content-Transfer-Encoding: 8bit
d6ba96
------------
d6ba96
d6ba96
Patch 7.4.193
d6ba96
Problem:    Typos in messages.
d6ba96
Solution:   "then" -> "than". (Dominique Pelle)
d6ba96
Files:	    src/if_py_both.h, src/spell.c
d6ba96
d6ba96
d6ba96
*** ../vim-7.4.192/src/if_py_both.h	2014-02-15 15:58:55.081904773 +0100
d6ba96
--- src/if_py_both.h	2014-03-08 16:10:46.015459417 +0100
d6ba96
***************
d6ba96
*** 236,242 ****
d6ba96
  	if (*result <= 0)
d6ba96
  	{
d6ba96
  	    PyErr_SET_STRING(PyExc_ValueError,
d6ba96
! 		    N_("number must be greater then zero"));
d6ba96
  	    return -1;
d6ba96
  	}
d6ba96
      }
d6ba96
--- 236,242 ----
d6ba96
  	if (*result <= 0)
d6ba96
  	{
d6ba96
  	    PyErr_SET_STRING(PyExc_ValueError,
d6ba96
! 		    N_("number must be greater than zero"));
d6ba96
  	    return -1;
d6ba96
  	}
d6ba96
      }
d6ba96
***************
d6ba96
*** 2405,2411 ****
d6ba96
  	if ((item = PyIter_Next(iterator)))
d6ba96
  	{
d6ba96
  	    PyErr_FORMAT(PyExc_ValueError,
d6ba96
! 		    N_("attempt to assign sequence of size greater then %d "
d6ba96
  			"to extended slice"), 0);
d6ba96
  	    Py_DECREF(item);
d6ba96
  	    ret = -1;
d6ba96
--- 2405,2411 ----
d6ba96
  	if ((item = PyIter_Next(iterator)))
d6ba96
  	{
d6ba96
  	    PyErr_FORMAT(PyExc_ValueError,
d6ba96
! 		    N_("attempt to assign sequence of size greater than %d "
d6ba96
  			"to extended slice"), 0);
d6ba96
  	    Py_DECREF(item);
d6ba96
  	    ret = -1;
d6ba96
***************
d6ba96
*** 2510,2516 ****
d6ba96
  	{
d6ba96
  	    Py_DECREF(iterator);
d6ba96
  	    PyErr_FORMAT(PyExc_ValueError,
d6ba96
! 		    N_("attempt to assign sequence of size greater then %d "
d6ba96
  			"to extended slice"), (int) slicelen);
d6ba96
  	    list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
d6ba96
  	    PyMem_Free(lis);
d6ba96
--- 2510,2516 ----
d6ba96
  	{
d6ba96
  	    Py_DECREF(iterator);
d6ba96
  	    PyErr_FORMAT(PyExc_ValueError,
d6ba96
! 		    N_("attempt to assign sequence of size greater than %d "
d6ba96
  			"to extended slice"), (int) slicelen);
d6ba96
  	    list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
d6ba96
  	    PyMem_Free(lis);
d6ba96
*** ../vim-7.4.192/src/spell.c	2014-02-23 22:52:33.372764715 +0100
d6ba96
--- src/spell.c	2014-03-08 16:10:46.019459417 +0100
d6ba96
***************
d6ba96
*** 12037,12043 ****
d6ba96
  		/* Normal byte, go one level deeper.  If it's not equal to the
d6ba96
  		 * byte in the bad word adjust the score.  But don't even try
d6ba96
  		 * when the byte was already changed.  And don't try when we
d6ba96
! 		 * just deleted this byte, accepting it is always cheaper then
d6ba96
  		 * delete + substitute. */
d6ba96
  		if (c == fword[sp->ts_fidx]
d6ba96
  #ifdef FEAT_MBYTE
d6ba96
--- 12037,12043 ----
d6ba96
  		/* Normal byte, go one level deeper.  If it's not equal to the
d6ba96
  		 * byte in the bad word adjust the score.  But don't even try
d6ba96
  		 * when the byte was already changed.  And don't try when we
d6ba96
! 		 * just deleted this byte, accepting it is always cheaper than
d6ba96
  		 * delete + substitute. */
d6ba96
  		if (c == fword[sp->ts_fidx]
d6ba96
  #ifdef FEAT_MBYTE
d6ba96
*** ../vim-7.4.192/src/version.c	2014-02-24 03:31:55.816738026 +0100
d6ba96
--- src/version.c	2014-03-08 16:11:51.591460422 +0100
d6ba96
***************
d6ba96
*** 740,741 ****
d6ba96
--- 740,743 ----
d6ba96
  {   /* Add new patch number below this line */
d6ba96
+ /**/
d6ba96
+     193,
d6ba96
  /**/
d6ba96
d6ba96
-- 
d6ba96
BEDEVERE: How do you know so much about swallows?
d6ba96
ARTHUR:   Well you have to know these things when you're a king, you know.
d6ba96
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
d6ba96
d6ba96
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
d6ba96
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
d6ba96
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
d6ba96
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///