Mercurial > vim
comparison src/mbyte.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 | ae1c6bf22e5f |
children | f4ea50924c6d |
comparison
equal
deleted
inserted
replaced
11126:48599a3eae0b | 11127:506f5d8b7d8b |
---|---|
4045 mb_prevptr( | 4045 mb_prevptr( |
4046 char_u *line, /* start of the string */ | 4046 char_u *line, /* start of the string */ |
4047 char_u *p) | 4047 char_u *p) |
4048 { | 4048 { |
4049 if (p > line) | 4049 if (p > line) |
4050 mb_ptr_back(line, p); | 4050 MB_PTR_BACK(line, p); |
4051 return p; | 4051 return p; |
4052 } | 4052 } |
4053 | 4053 |
4054 /* | 4054 /* |
4055 * Return the character length of "str". Each multi-byte character (with | 4055 * Return the character length of "str". Each multi-byte character (with |
5706 | 5706 |
5707 static int xim_real_init(Window x11_window, Display *x11_display); | 5707 static int xim_real_init(Window x11_window, Display *x11_display); |
5708 | 5708 |
5709 | 5709 |
5710 #ifdef USE_X11R6_XIM | 5710 #ifdef USE_X11R6_XIM |
5711 static void xim_instantiate_cb(Display *display, XPointer client_data, XPointer call_data); | |
5712 static void xim_destroy_cb(XIM im, XPointer client_data, XPointer call_data); | 5711 static void xim_destroy_cb(XIM im, XPointer client_data, XPointer call_data); |
5713 | 5712 |
5714 static void | 5713 static void |
5715 xim_instantiate_cb( | 5714 xim_instantiate_cb( |
5716 Display *display, | 5715 Display *display, |