comparison src/mbyte.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 621e41f6dcc2
comparison
equal deleted inserted replaced
11128:23154628ab7f 11129:f4ea50924c6d
884 int 884 int
885 mb_get_class_buf(char_u *p, buf_T *buf) 885 mb_get_class_buf(char_u *p, buf_T *buf)
886 { 886 {
887 if (MB_BYTE2LEN(p[0]) == 1) 887 if (MB_BYTE2LEN(p[0]) == 1)
888 { 888 {
889 if (p[0] == NUL || vim_iswhite(p[0])) 889 if (p[0] == NUL || VIM_ISWHITE(p[0]))
890 return 0; 890 return 0;
891 if (vim_iswordc_buf(p[0], buf)) 891 if (vim_iswordc_buf(p[0], buf))
892 return 2; 892 return 2;
893 return 1; 893 return 1;
894 } 894 }