0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.0081

This commit is contained in:
Bram Moolenaar 2005-06-06 21:50:35 +00:00
parent fb67026c27
commit cfc6c43ce2
4 changed files with 643 additions and 165 deletions

Binary file not shown.

View File

@ -1445,6 +1445,7 @@ removable(name)
char_u *p;
char_u part[51];
int retval = FALSE;
size_t n;
name = home_replace_save(NULL, name);
if (name != NULL)
@ -1452,11 +1453,14 @@ removable(name)
for (p = p_viminfo; *p; )
{
copy_option_part(&p, part, 51, ", ");
if (part[0] == 'r'
&& MB_STRNICMP(part + 1, name, STRLEN(part + 1)) == 0)
if (part[0] == 'r')
{
retval = TRUE;
break;
n = STRLEN(part + 1);
if (MB_STRNICMP(part + 1, name, n) == 0)
{
retval = TRUE;
break;
}
}
}
vim_free(name);

View File

@ -20,13 +20,6 @@ int vim_isIDc __ARGS((int c));
int vim_iswordc __ARGS((int c));
int vim_iswordp __ARGS((char_u *p));
int vim_iswordc_buf __ARGS((char_u *p, buf_T *buf));
void init_spell_chartab __ARGS((void));
int set_spell_chartab __ARGS((char_u *fol, char_u *low, char_u *upp));
int set_spell_charflags __ARGS((char_u *flags, int cnt, char_u *upp));
void write_spell_chartab __ARGS((FILE *fd));
int spell_iswordc __ARGS((char_u *p));
int spell_isupper __ARGS((int c));
int spell_casefold __ARGS((char_u *p, int len, char_u *buf, int buflen));
int vim_isfilec __ARGS((int c));
int vim_isprintc __ARGS((int c));
int vim_isprintc_strict __ARGS((int c));

File diff suppressed because it is too large Load Diff