Mercurial > vim
comparison src/ex_cmds2.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 | 501f46f7644c |
comparison
equal
deleted
inserted
replaced
11128:23154628ab7f | 11129:f4ea50924c6d |
---|---|
5181 | 5181 |
5182 /* Check for "messages {name}", "ctype {name}" or "time {name}" argument. | 5182 /* Check for "messages {name}", "ctype {name}" or "time {name}" argument. |
5183 * Allow abbreviation, but require at least 3 characters to avoid | 5183 * Allow abbreviation, but require at least 3 characters to avoid |
5184 * confusion with a two letter language name "me" or "ct". */ | 5184 * confusion with a two letter language name "me" or "ct". */ |
5185 p = skiptowhite(eap->arg); | 5185 p = skiptowhite(eap->arg); |
5186 if ((*p == NUL || vim_iswhite(*p)) && p - eap->arg >= 3) | 5186 if ((*p == NUL || VIM_ISWHITE(*p)) && p - eap->arg >= 3) |
5187 { | 5187 { |
5188 if (STRNICMP(eap->arg, "messages", p - eap->arg) == 0) | 5188 if (STRNICMP(eap->arg, "messages", p - eap->arg) == 0) |
5189 { | 5189 { |
5190 what = VIM_LC_MESSAGES; | 5190 what = VIM_LC_MESSAGES; |
5191 name = skipwhite(p); | 5191 name = skipwhite(p); |