summaryrefslogtreecommitdiffstats
path: root/src/filepath.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-01 21:41:28 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-01 21:41:28 +0100
commit217e1b8359447f5550dcb0d1ee43380a90c253c5 (patch)
tree137e8b7d6f27848c95caa47e2fc13a4dc4c50d29 /src/filepath.c
parent5d18efecfd6c45d69f55268948a22cd0465bb955 (diff)
patch 8.1.2379: using old C style commentsv8.1.2379
Problem: Using old C style comments. Solution: Use // comments where appropriate.
Diffstat (limited to 'src/filepath.c')
-rw-r--r--src/filepath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filepath.c b/src/filepath.c
index 8da6e17729..0fc1a5cad7 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -162,7 +162,7 @@ shortpath_for_invalid_fname(
* path with the remaining path at the tail.
*/
- /* Compute the length of the new path. */
+ // Compute the length of the new path.
sfx_len = (int)(save_endp - endp) + 1;
new_len = len + sfx_len;
@@ -2367,7 +2367,7 @@ fullpathcmp(
r2 = mch_stat((char *)s2, &st2);
if (r1 != 0 && r2 != 0)
{
- /* if mch_stat() doesn't work, may compare the names */
+ // if mch_stat() doesn't work, may compare the names
if (checkname)
{
if (fnamecmp(exp1, s2) == 0)
@@ -3689,7 +3689,7 @@ gen_expand_wildcards(
void
addfile(
garray_T *gap,
- char_u *f, /* filename */
+ char_u *f, // filename
int flags)
{
char_u *p;