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/fileio.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/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 48955e01ce..25706cc022 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -6247,7 +6247,7 @@ buf_modname( * Then truncate what is after the '/', '\' or ':' to 8 characters for * MSDOS and 26 characters for AMIGA, a lot more for UNIX. */ - for (ptr = retval + fnamelen; ptr > retval; mb_ptr_back(retval, ptr)) + for (ptr = retval + fnamelen; ptr > retval; MB_PTR_BACK(retval, ptr)) { if (*ext == '.' #ifdef USE_LONG_FNAME |