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