mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4.193
Problem: Typos in messages. Solution: "then" -> "than". (Dominique Pelle)
This commit is contained in:
parent
47b8342abd
commit
4de6a212f9
@ -236,7 +236,7 @@ NumberToLong(PyObject *obj, long *result, int flags)
|
|||||||
if (*result <= 0)
|
if (*result <= 0)
|
||||||
{
|
{
|
||||||
PyErr_SET_STRING(PyExc_ValueError,
|
PyErr_SET_STRING(PyExc_ValueError,
|
||||||
N_("number must be greater then zero"));
|
N_("number must be greater than zero"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2405,7 +2405,7 @@ ListAssSlice(ListObject *self, Py_ssize_t first,
|
|||||||
if ((item = PyIter_Next(iterator)))
|
if ((item = PyIter_Next(iterator)))
|
||||||
{
|
{
|
||||||
PyErr_FORMAT(PyExc_ValueError,
|
PyErr_FORMAT(PyExc_ValueError,
|
||||||
N_("attempt to assign sequence of size greater then %d "
|
N_("attempt to assign sequence of size greater than %d "
|
||||||
"to extended slice"), 0);
|
"to extended slice"), 0);
|
||||||
Py_DECREF(item);
|
Py_DECREF(item);
|
||||||
ret = -1;
|
ret = -1;
|
||||||
@ -2510,7 +2510,7 @@ ListAssSlice(ListObject *self, Py_ssize_t first,
|
|||||||
{
|
{
|
||||||
Py_DECREF(iterator);
|
Py_DECREF(iterator);
|
||||||
PyErr_FORMAT(PyExc_ValueError,
|
PyErr_FORMAT(PyExc_ValueError,
|
||||||
N_("attempt to assign sequence of size greater then %d "
|
N_("attempt to assign sequence of size greater than %d "
|
||||||
"to extended slice"), (int) slicelen);
|
"to extended slice"), (int) slicelen);
|
||||||
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
||||||
PyMem_Free(lis);
|
PyMem_Free(lis);
|
||||||
|
@ -12037,7 +12037,7 @@ suggest_trie_walk(su, lp, fword, soundfold)
|
|||||||
/* Normal byte, go one level deeper. If it's not equal to the
|
/* Normal byte, go one level deeper. If it's not equal to the
|
||||||
* byte in the bad word adjust the score. But don't even try
|
* byte in the bad word adjust the score. But don't even try
|
||||||
* when the byte was already changed. And don't try when we
|
* when the byte was already changed. And don't try when we
|
||||||
* just deleted this byte, accepting it is always cheaper then
|
* just deleted this byte, accepting it is always cheaper than
|
||||||
* delete + substitute. */
|
* delete + substitute. */
|
||||||
if (c == fword[sp->ts_fidx]
|
if (c == fword[sp->ts_fidx]
|
||||||
#ifdef FEAT_MBYTE
|
#ifdef FEAT_MBYTE
|
||||||
|
@ -738,6 +738,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 */
|
||||||
|
/**/
|
||||||
|
193,
|
||||||
/**/
|
/**/
|
||||||
192,
|
192,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user