Mercurial > vim
comparison src/misc2.c @ 11129:f4ea50924c6d v8.0.0452
patch 8.0.0452: some macros are in lower case
commit https://github.com/vim/vim/commit/1c46544412382db8b3203d6c78e550df885540bd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 20:10:05 2017 +0100
patch 8.0.0452: some macros are in lower case
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 20:15:06 +0100 |
parents | 506f5d8b7d8b |
children | 6ce90f33373f |
comparison
equal
deleted
inserted
replaced
11128:23154628ab7f | 11129:f4ea50924c6d |
---|---|
1700 del_trailing_spaces(char_u *ptr) | 1700 del_trailing_spaces(char_u *ptr) |
1701 { | 1701 { |
1702 char_u *q; | 1702 char_u *q; |
1703 | 1703 |
1704 q = ptr + STRLEN(ptr); | 1704 q = ptr + STRLEN(ptr); |
1705 while (--q > ptr && vim_iswhite(q[0]) && q[-1] != '\\' && q[-1] != Ctrl_V) | 1705 while (--q > ptr && VIM_ISWHITE(q[0]) && q[-1] != '\\' && q[-1] != Ctrl_V) |
1706 *q = NUL; | 1706 *q = NUL; |
1707 } | 1707 } |
1708 | 1708 |
1709 /* | 1709 /* |
1710 * Like strncpy(), but always terminate the result with one NUL. | 1710 * Like strncpy(), but always terminate the result with one NUL. |