Remove instances of TRUE/FALSE macro

memory.c
os_unix.c
path.c
This commit is contained in:
Steven Oliver
2015-08-30 16:27:47 -04:00
committed by Björn Linse
parent ea33a75d07
commit f7c5dc4db2
12 changed files with 121 additions and 126 deletions

View File

@@ -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