Mercurial > vim
comparison src/fileio.c @ 11127:506f5d8b7d8b v8.0.0451
patch 8.0.0451: some macros are in lower case
commit https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 19:22:36 2017 +0100
patch 8.0.0451: some macros are in lower case
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 19:30:05 +0100 |
parents | 778c10516955 |
children | f4ea50924c6d |
comparison
equal
deleted
inserted
replaced
11126:48599a3eae0b | 11127:506f5d8b7d8b |
---|---|
6245 * search backwards until we hit a '/', '\' or ':' replacing all '.' | 6245 * search backwards until we hit a '/', '\' or ':' replacing all '.' |
6246 * by '_' for MSDOS or when shortname option set and ext starts with a dot. | 6246 * by '_' for MSDOS or when shortname option set and ext starts with a dot. |
6247 * Then truncate what is after the '/', '\' or ':' to 8 characters for | 6247 * Then truncate what is after the '/', '\' or ':' to 8 characters for |
6248 * MSDOS and 26 characters for AMIGA, a lot more for UNIX. | 6248 * MSDOS and 26 characters for AMIGA, a lot more for UNIX. |
6249 */ | 6249 */ |
6250 for (ptr = retval + fnamelen; ptr > retval; mb_ptr_back(retval, ptr)) | 6250 for (ptr = retval + fnamelen; ptr > retval; MB_PTR_BACK(retval, ptr)) |
6251 { | 6251 { |
6252 if (*ext == '.' | 6252 if (*ext == '.' |
6253 #ifdef USE_LONG_FNAME | 6253 #ifdef USE_LONG_FNAME |
6254 && (!USE_LONG_FNAME || shortname) | 6254 && (!USE_LONG_FNAME || shortname) |
6255 #else | 6255 #else |