mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
*: Fix linter errors
This commit is contained in:
@@ -1873,7 +1873,7 @@ static void source_startup_scripts(mparm_T *parmp)
|
|||||||
else
|
else
|
||||||
secure = 0;
|
secure = 0;
|
||||||
#endif
|
#endif
|
||||||
(void) do_source((char_u *)EXRC_FILE, FALSE, DOSO_NONE);
|
(void) do_source((char_u *)EXRC_FILE, false, DOSO_NONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
xfree(user_vimrc);
|
xfree(user_vimrc);
|
||||||
|
@@ -3385,10 +3385,10 @@ static char *findswapname(buf_T *buf, char **dirp, char *old_fname,
|
|||||||
name = xmalloc(fname_len
|
name = xmalloc(fname_len
|
||||||
+ strlen(_("Swap file \""))
|
+ strlen(_("Swap file \""))
|
||||||
+ strlen(_("\" already exists!")) + 5);
|
+ strlen(_("\" already exists!")) + 5);
|
||||||
strcpy(name, _("Swap file \""));
|
STRCPY(name, _("Swap file \""));
|
||||||
home_replace(NULL, (char_u *) fname, (char_u *)&name[strlen(name)],
|
home_replace(NULL, (char_u *) fname, (char_u *)&name[strlen(name)],
|
||||||
fname_len, true);
|
fname_len, true);
|
||||||
strcat(name, _("\" already exists!"));
|
STRCAT(name, _("\" already exists!"));
|
||||||
choice = do_dialog(VIM_WARNING,
|
choice = do_dialog(VIM_WARNING,
|
||||||
(char_u *)_("VIM - ATTENTION"),
|
(char_u *)_("VIM - ATTENTION"),
|
||||||
(char_u *)(name == NULL
|
(char_u *)(name == NULL
|
||||||
|
Reference in New Issue
Block a user