aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorSteven Oliver <oliver.steven@gmail.com>2015-08-30 16:27:47 -0400
committerBjörn Linse <bjorn.linse@gmail.com>2015-09-04 11:07:33 +0200
commitf7c5dc4db266bfc1db3ea76d114d9a04413fe875 (patch)
treeec6fdb7594d41c89d3b71f9ebd82ced7652b2e0d /src/nvim/memory.c
parentea33a75d0738526dd1ecfdeb387aeccb15fb7832 (diff)
downloadrneovim-f7c5dc4db266bfc1db3ea76d114d9a04413fe875.tar.gz
rneovim-f7c5dc4db266bfc1db3ea76d114d9a04413fe875.tar.bz2
rneovim-f7c5dc4db266bfc1db3ea76d114d9a04413fe875.zip
Remove instances of TRUE/FALSE macro
memory.c os_unix.c path.c
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