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