mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
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.
This commit is contained in:
@@ -7118,7 +7118,7 @@ buf_reload(buf_T *buf, int orig_mode)
|
||||
* the old contents. Can't use memory only, the file might be
|
||||
* too big. Use a hidden buffer to move the buffer contents to.
|
||||
*/
|
||||
if (bufempty() || saved == FAIL)
|
||||
if (BUFEMPTY() || saved == FAIL)
|
||||
savebuf = NULL;
|
||||
else
|
||||
{
|
||||
@@ -7161,7 +7161,7 @@ buf_reload(buf_T *buf, int orig_mode)
|
||||
{
|
||||
/* Put the text back from the save buffer. First
|
||||
* delete any lines that readfile() added. */
|
||||
while (!bufempty())
|
||||
while (!BUFEMPTY())
|
||||
if (ml_delete(buf->b_ml.ml_line_count, FALSE) == FAIL)
|
||||
break;
|
||||
(void)move_lines(savebuf, buf);
|
||||
|
Reference in New Issue
Block a user