summaryrefslogtreecommitdiff
path: root/src/findfile.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/findfile.c
parent5d18efecfd6c45d69f55268948a22cd0465bb955 (diff)
downloadvim-git-217e1b8359447f5550dcb0d1ee43380a90c253c5.tar.gz
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/findfile.c')
-rw-r--r--src/findfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/findfile.c b/src/findfile.c
index ddb4d10d2..dba547da1 100644
--- a/src/findfile.c
+++ b/src/findfile.c
@@ -968,7 +968,7 @@ vim_findfile(void *search_ctx_arg)
{
if (!path_with_url(stackp->ffs_filearray[i])
&& !mch_isdir(stackp->ffs_filearray[i]))
- continue; /* not a directory */
+ continue; // not a directory
// prepare the filename to be checked for existence
// below
@@ -2690,7 +2690,7 @@ simplify_filename(char_u *filename)
char_u saved_char;
stat_T st;
- /* Don't strip for an erroneous file name. */
+ // Don't strip for an erroneous file name.
if (!stripping_disabled)
{
// If the preceding component does not exist in the file
@@ -2827,7 +2827,7 @@ f_simplify(typval_T *argvars, typval_T *rettv)
p = tv_get_string(&argvars[0]);
rettv->vval.v_string = vim_strsave(p);
- simplify_filename(rettv->vval.v_string); /* simplify in place */
+ simplify_filename(rettv->vval.v_string); // simplify in place
rettv->v_type = VAR_STRING;
}
#endif // FEAT_EVAL