Skip to content
Snippets Groups Projects
Commit cfc6c43c authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.0081

parent fb67026c
No related merge requests found
No preview for this file type
......@@ -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);
......
......@@ -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));
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment