summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2009-02-11 16:58:49 +0000
committervimboss <devnull@localhost>2009-02-11 16:58:49 +0000
commit439c84bd2fd404af7b23c0f1230eedfd6b520ff4 (patch)
treedea2cc96f52ec7a2ebbac0616a1d584ad1a26328
parent8e6a0a78f4f30f743d807ff3915dbb84f95c6ecd (diff)
downloadvim-439c84bd2fd404af7b23c0f1230eedfd6b520ff4.tar.gz
updated for version 7.2-106v7.2.106v7-2-106
-rw-r--r--src/spell.c9
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 3 deletions
diff --git a/src/spell.c b/src/spell.c
index b89ef836..51206812 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -2376,7 +2376,7 @@ spell_move_to(wp, dir, allwords, curline, attrp)
/* If we are back at the starting line and there is no match then
* give up. */
- if (lnum == wp->w_cursor.lnum && !found_one)
+ if (lnum == wp->w_cursor.lnum && (!found_one || wrapped))
break;
/* Skip the characters at the start of the next line that were
@@ -4956,13 +4956,16 @@ typedef struct compitem_S
* Structure that is used to store the items in the word tree. This avoids
* the need to keep track of each allocated thing, everything is freed all at
* once after ":mkspell" is done.
+ * Note: "sb_next" must be just before "sb_data" to make sure the alignment of
+ * "sb_data" is correct for systems where pointers must be aligned on
+ * pointer-size boundaries and sizeof(pointer) > sizeof(int) (e.g., Sparc).
*/
#define SBLOCKSIZE 16000 /* size of sb_data */
typedef struct sblock_S sblock_T;
struct sblock_S
{
- sblock_T *sb_next; /* next block in list */
int sb_used; /* nr of bytes already in use */
+ sblock_T *sb_next; /* next block in list */
char_u sb_data[1]; /* data, actually longer */
};
@@ -15011,7 +15014,7 @@ soundalike_score(goodstart, badstart)
case 0:
/*
- * Lenghts are equal, thus changes must result in same length: An
+ * Lengths are equal, thus changes must result in same length: An
* insert is only possible in combination with a delete.
* 1: check if for identical strings
*/
diff --git a/src/version.c b/src/version.c
index 2e5fe3c5..0ff2fd2d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 106,
+/**/
105,
/**/
104,