diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-11-12 11:13:02 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-11-12 11:13:02 -0500 |
commit | 205ac8d176f67514e3bc8fa069c8e7d92be69094 (patch) | |
tree | d3e44e746d7bbea8821d3e8eae4fce146a9032a6 /src/nvim/memline.c | |
parent | 8da78bc3ae694aa2a6edaac97756211374491471 (diff) | |
parent | 63e255887099b3728c60f2cdd0c86245eabbb839 (diff) | |
download | rneovim-205ac8d176f67514e3bc8fa069c8e7d92be69094.tar.gz rneovim-205ac8d176f67514e3bc8fa069c8e7d92be69094.tar.bz2 rneovim-205ac8d176f67514e3bc8fa069c8e7d92be69094.zip |
Merge pull request #1345 from war1025/dev/wininfo_bools
Convert some values into bools
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 91fbe62c18..e9edeb842f 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -277,9 +277,9 @@ int ml_open(buf_T *buf) * When 'updatecount' is non-zero swap file may be opened later. */ if (p_uc && buf->b_p_swf) - buf->b_may_swap = TRUE; + buf->b_may_swap = true; else - buf->b_may_swap = FALSE; + buf->b_may_swap = false; /* * Open the memfile. No swap file is created yet. @@ -495,7 +495,7 @@ void ml_open_file(buf_T *buf) fname = vim_tempname(); if (fname != NULL) (void)mf_open_file(mfp, fname); /* consumes fname! */ - buf->b_may_swap = FALSE; + buf->b_may_swap = false; return; } @@ -540,7 +540,7 @@ void ml_open_file(buf_T *buf) } /* don't try to open a swap file again */ - buf->b_may_swap = FALSE; + buf->b_may_swap = false; } /* |