diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-12 19:22:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-12 19:22:36 +0100 |
commit | 91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f (patch) | |
tree | 1923145c992a09b3adc06e40f02284ff0ef21bbd /src/memline.c | |
parent | 47ffb905f363571072faefbd417938e7ff351a9f (diff) |
patch 8.0.0451: some macros are in lower casev8.0.0451
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
Diffstat (limited to 'src/memline.c')
-rw-r--r-- | src/memline.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/memline.c b/src/memline.c index f9852e55bb..723bcd4bc5 100644 --- a/src/memline.c +++ b/src/memline.c @@ -2028,7 +2028,7 @@ make_percent_swname(char_u *dir, char_u *name) if (s != NULL) { STRCPY(s, f); - for (d = s; *d != NUL; mb_ptr_adv(d)) + for (d = s; *d != NUL; MB_PTR_ADV(d)) if (vim_ispathsep(*d)) *d = '%'; d = concat_fnames(dir, s, TRUE); @@ -4015,7 +4015,7 @@ get_file_in_dir( #ifdef WIN3264 if (retval != NULL) - for (t = gettail(retval); *t != NUL; mb_ptr_adv(t)) + for (t = gettail(retval); *t != NUL; MB_PTR_ADV(t)) if (*t == ':') *t = '%'; #endif @@ -4154,7 +4154,7 @@ findswapname( if (buf_fname == NULL) buf_fname = buf->b_fname; else - for (t = gettail(buf_fname); *t != NUL; mb_ptr_adv(t)) + for (t = gettail(buf_fname); *t != NUL; MB_PTR_ADV(t)) if (*t == ':') *t = '%'; } |