1
0
forked from aniani/vim

updated for version 7.2-003

This commit is contained in:
Bram Moolenaar
2008-08-25 02:14:05 +00:00
parent acbd442709
commit 6949d1ddc6
2 changed files with 6 additions and 4 deletions

View File

@@ -77,7 +77,7 @@
/* /*
* Do the opposite: based on a maximum end score and a known sound score, * Do the opposite: based on a maximum end score and a known sound score,
* compute the the maximum word score that can be used. * compute the maximum word score that can be used.
*/ */
#define MAXSCORE(word_score, sound_score) ((4 * word_score - sound_score) / 3) #define MAXSCORE(word_score, sound_score) ((4 * word_score - sound_score) / 3)
@@ -625,7 +625,7 @@ typedef struct suggest_S
/* TRUE if a word appears in the list of banned words. */ /* TRUE if a word appears in the list of banned words. */
#define WAS_BANNED(su, word) (!HASHITEM_EMPTY(hash_find(&su->su_banned, word))) #define WAS_BANNED(su, word) (!HASHITEM_EMPTY(hash_find(&su->su_banned, word)))
/* Number of suggestions kept when cleaning up. we need to keep more than /* Number of suggestions kept when cleaning up. We need to keep more than
* what is displayed, because when rescore_suggestions() is called the score * what is displayed, because when rescore_suggestions() is called the score
* may change and wrong suggestions may be removed later. */ * may change and wrong suggestions may be removed later. */
#define SUG_CLEAN_COUNT(su) ((su)->su_maxcount < 130 ? 150 : (su)->su_maxcount + 20) #define SUG_CLEAN_COUNT(su) ((su)->su_maxcount < 130 ? 150 : (su)->su_maxcount + 20)
@@ -5980,7 +5980,7 @@ spell_read_aff(spin, fname)
else if (spin->si_newprefID == 0 || spin->si_newprefID == 127) else if (spin->si_newprefID == 0 || spin->si_newprefID == 127)
MSG(_("Too many compound flags")); MSG(_("Too many compound flags"));
else else
MSG(_("Too many posponed prefixes and/or compound flags")); MSG(_("Too many postponed prefixes and/or compound flags"));
} }
if (syllable != NULL) if (syllable != NULL)

View File

@@ -676,6 +676,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 */
/**/
3,
/**/ /**/
2, 2,
/**/ /**/
@@ -790,7 +792,7 @@ list_version()
MSG_PUTS(_("\nRISC OS version")); MSG_PUTS(_("\nRISC OS version"));
#endif #endif
#ifdef VMS #ifdef VMS
MSG_PUTS("\nOpenVMS version"); MSG_PUTS(_("\nOpenVMS version"));
# ifdef HAVE_PATHDEF # ifdef HAVE_PATHDEF
if (*compiled_arch != NUL) if (*compiled_arch != NUL)
{ {