diff options
author | Klemen Košir <klemen913@gmail.com> | 2014-04-30 11:06:52 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-08 17:25:48 +0000 |
commit | ef34a0ab132bca94bd16d8518c3333cf81cbf2c6 (patch) | |
tree | 9ae6122b7c3d941fdc237c51ef81f04e2bb737ac /src/nvim/memory.c | |
parent | 3cf435af363dc3585568e1213152e31ed6b1fc08 (diff) | |
download | rneovim-ef34a0ab132bca94bd16d8518c3333cf81cbf2c6.tar.gz rneovim-ef34a0ab132bca94bd16d8518c3333cf81cbf2c6.tar.bz2 rneovim-ef34a0ab132bca94bd16d8518c3333cf81cbf2c6.zip |
Replace int with bool in some files. #654
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r-- | src/nvim/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c index 3c6430f311..85c07a299e 100644 --- a/src/nvim/memory.c +++ b/src/nvim/memory.c @@ -376,13 +376,13 @@ void do_outofmem_msg(size_t size) void free_all_mem(void) { buf_T *buf, *nextbuf; - static int entered = FALSE; + static bool entered = false; /* When we cause a crash here it is caught and Vim tries to exit cleanly. * Don't try freeing everything again. */ if (entered) return; - entered = TRUE; + entered = true; block_autocmds(); /* don't want to trigger autocommands here */ |