Mercurial > vim
comparison src/gui.c @ 11121:778c10516955 v8.0.0448
patch 8.0.0448: some macros are in lower case
commit https://github.com/vim/vim/commit/b5aedf3e228d35821591da9ae8501b61cf2e264c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 18:23:53 2017 +0100
patch 8.0.0448: some macros are in lower case
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 18:30:06 +0100 |
parents | cd179d7d0b5d |
children | 506f5d8b7d8b |
comparison
equal
deleted
inserted
replaced
11120:29ee7ffe8df7 | 11121:778c10516955 |
---|---|
4474 /* May need to redraw the popup menu. */ | 4474 /* May need to redraw the popup menu. */ |
4475 if (pum_visible()) | 4475 if (pum_visible()) |
4476 pum_redraw(); | 4476 pum_redraw(); |
4477 #endif | 4477 #endif |
4478 | 4478 |
4479 return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor)); | 4479 return (wp == curwin && !EQUAL_POS(curwin->w_cursor, old_cursor)); |
4480 } | 4480 } |
4481 | 4481 |
4482 | 4482 |
4483 /* | 4483 /* |
4484 * Horizontal scrollbar stuff: | 4484 * Horizontal scrollbar stuff: |
5116 # endif | 5116 # endif |
5117 # ifdef FEAT_CONCEAL | 5117 # ifdef FEAT_CONCEAL |
5118 curwin->w_p_cole > 0 | 5118 curwin->w_p_cole > 0 |
5119 # endif | 5119 # endif |
5120 ) | 5120 ) |
5121 && !equalpos(last_cursormoved, curwin->w_cursor)) | 5121 && !EQUAL_POS(last_cursormoved, curwin->w_cursor)) |
5122 { | 5122 { |
5123 # ifdef FEAT_AUTOCMD | 5123 # ifdef FEAT_AUTOCMD |
5124 if (has_cursormoved()) | 5124 if (has_cursormoved()) |
5125 apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf); | 5125 apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf); |
5126 # endif | 5126 # endif |