comparison src/move.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 e39300d3d2cf
children 84f71a8a5f2c
comparison
equal deleted inserted replaced
11120:29ee7ffe8df7 11121:778c10516955
208 #endif 208 #endif
209 209
210 /* 210 /*
211 * If the buffer is empty, always set topline to 1. 211 * If the buffer is empty, always set topline to 1.
212 */ 212 */
213 if (bufempty()) /* special case - file is empty */ 213 if (BUFEMPTY()) /* special case - file is empty */
214 { 214 {
215 if (curwin->w_topline != 1) 215 if (curwin->w_topline != 1)
216 redraw_later(NOT_VALID); 216 redraw_later(NOT_VALID);
217 curwin->w_topline = 1; 217 curwin->w_topline = 1;
218 curwin->w_botline = 2; 218 curwin->w_botline = 2;