From f7c5dc4db266bfc1db3ea76d114d9a04413fe875 Mon Sep 17 00:00:00 2001 From: Steven Oliver Date: Sun, 30 Aug 2015 16:27:47 -0400 Subject: Remove instances of TRUE/FALSE macro memory.c os_unix.c path.c --- src/nvim/memory.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nvim/memory.c') 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 -- cgit