aboutsummaryrefslogtreecommitdiff
path: root/src/path.c
diff options
context:
space:
mode:
authorThomas Wienecke <wienecke.t@gmail.com>2014-04-01 18:11:28 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-03 10:32:41 -0300
commitbfa4490aacda4c1e48386d4fc5e1e5884a0e0f9d (patch)
treeafe9c4cfa3b65e9d95883da5bd49f82641c0d811 /src/path.c
parentc454030478f23253c257aa759ea56b970a11cdfe (diff)
downloadrneovim-bfa4490aacda4c1e48386d4fc5e1e5884a0e0f9d.tar.gz
rneovim-bfa4490aacda4c1e48386d4fc5e1e5884a0e0f9d.tar.bz2
rneovim-bfa4490aacda4c1e48386d4fc5e1e5884a0e0f9d.zip
Rename FPC_* constants.
Diffstat (limited to 'src/path.c')
-rw-r--r--src/path.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/path.c b/src/path.c
index bfac899e4f..a07c897735 100644
--- a/src/path.c
+++ b/src/path.c
@@ -46,18 +46,18 @@ FileComparison path_full_compare(char_u *s1, char_u *s2, int checkname)
vim_FullName(exp1, full1, MAXPATHL, FALSE);
vim_FullName(s2, full2, MAXPATHL, FALSE);
if (fnamecmp(full1, full2) == 0) {
- return FPC_SAMEX;
+ return kEqualFileNames;
}
}
- return FPC_NOTX;
+ return kBothFilesMissing;
}
if (r1 != OK || r2 != OK) {
- return FPC_DIFFX;
+ return kOneFileMissing;
}
if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino) {
- return FPC_SAME;
+ return kEqualFiles;
}
- return FPC_DIFF;
+ return kDifferentFiles;
}
char_u *path_tail(char_u *fname)