aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 85d56e3b90..132c895997 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -437,7 +437,7 @@ void do_outofmem_msg(size_t size)
/* Must come first to avoid coming back here when printing the error
* message fails, e.g. when setting v:errmsg. */
- did_outofmem_msg = TRUE;
+ did_outofmem_msg = true;
EMSGU(_("E342: Out of memory! (allocating %" PRIu64 " bytes)"), size);
}
@@ -496,7 +496,7 @@ void free_all_mem(void)
block_autocmds();
/* Close all tabs and windows. Reset 'equalalways' to avoid redraws. */
- p_ea = FALSE;
+ p_ea = false;
if (first_tabpage->tp_next != NULL)
do_cmdline_cmd("tabonly!");
if (firstwin != lastwin)
@@ -567,10 +567,10 @@ void free_all_mem(void)
/* Free all buffers. Reset 'autochdir' to avoid accessing things that
* were freed already. */
- p_acd = FALSE;
+ p_acd = false;
for (buf = firstbuf; buf != NULL; ) {
nextbuf = buf->b_next;
- close_buffer(NULL, buf, DOBUF_WIPE, FALSE);
+ close_buffer(NULL, buf, DOBUF_WIPE, false);
if (buf_valid(buf))
buf = nextbuf; /* didn't work, try next one */
else