aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorThomas Wienecke <wienecke.t@gmail.com>2014-03-30 01:57:46 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-03 10:32:41 -0300
commit6d712defa52e58627aca5c875677d14d705300e8 (patch)
tree69516dc311b87cc7840f05d0a88259fe2094a465 /src/ex_cmds.c
parent81237af70e7ac2d2277f428da87ca5fa7b16c8e1 (diff)
downloadrneovim-6d712defa52e58627aca5c875677d14d705300e8.tar.gz
rneovim-6d712defa52e58627aca5c875677d14d705300e8.tar.bz2
rneovim-6d712defa52e58627aca5c875677d14d705300e8.zip
Refactor fullpathcmp -> path_full_compare.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 65c71cdcb2..e8eb458f70 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5213,7 +5213,7 @@ void fix_help_buffer(void)
copy_option_part(&p, NameBuff, MAXPATHL, ",");
mustfree = FALSE;
rt = vim_getenv((char_u *)"VIMRUNTIME", &mustfree);
- if (fullpathcmp(rt, NameBuff, FALSE) != FPC_SAME) {
+ if (path_full_compare(rt, NameBuff, FALSE) != FPC_SAME) {
int fcount;
char_u **fnames;
FILE *fd;
@@ -5522,7 +5522,7 @@ helptags_one (
* add the "help-tags" tag.
*/
ga_init(&ga, (int)sizeof(char_u *), 100);
- if (add_help_tags || fullpathcmp((char_u *)"$VIMRUNTIME/doc",
+ if (add_help_tags || path_full_compare((char_u *)"$VIMRUNTIME/doc",
dir, FALSE) == FPC_SAME) {
if (ga_grow(&ga, 1) == FAIL)
got_int = TRUE;