diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2015-09-04 11:18:39 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2015-09-04 11:18:39 +0200 |
commit | c51864b826cadfb4c52d597c4ae5897c3ec1341c (patch) | |
tree | 13b97ced18059a26932aeb96aff5734201c26a49 /src/nvim/memory.c | |
parent | ea33a75d0738526dd1ecfdeb387aeccb15fb7832 (diff) | |
parent | 11b8c76e4168080b3e2d86fd53c0e1437f834ad5 (diff) | |
download | rneovim-c51864b826cadfb4c52d597c4ae5897c3ec1341c.tar.gz rneovim-c51864b826cadfb4c52d597c4ae5897c3ec1341c.tar.bz2 rneovim-c51864b826cadfb4c52d597c4ae5897c3ec1341c.zip |
Merge "Remove instances of TRUE/FALSE" #3272
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r-- | src/nvim/memory.c | 8 |
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 |