aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-11-12 11:13:02 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-11-12 11:13:02 -0500
commit205ac8d176f67514e3bc8fa069c8e7d92be69094 (patch)
treed3e44e746d7bbea8821d3e8eae4fce146a9032a6 /src/nvim/fileio.c
parent8da78bc3ae694aa2a6edaac97756211374491471 (diff)
parent63e255887099b3728c60f2cdd0c86245eabbb839 (diff)
downloadrneovim-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/fileio.c')
-rw-r--r--src/nvim/fileio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index b20150b2c9..97a357bff7 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -2197,7 +2197,7 @@ static void check_marks_read(void)
/* Always set b_marks_read; needed when 'viminfo' is changed to include
* the ' parameter after opening a buffer. */
- curbuf->b_marks_read = TRUE;
+ curbuf->b_marks_read = true;
}
#ifdef UNIX
@@ -2690,7 +2690,7 @@ buf_write (
got_int = FALSE;
/* Mark the buffer as 'being saved' to prevent changed buffer warnings */
- buf->b_saving = TRUE;
+ buf->b_saving = true;
/*
* If we are not appending or filtering, the file exists, and the
@@ -3665,7 +3665,7 @@ fail:
nofail:
/* Done saving, we accept changed buffer warnings again */
- buf->b_saving = FALSE;
+ buf->b_saving = false;
free(backup);
if (buffer != smallbuf)
@@ -6489,7 +6489,7 @@ apply_autocmds_group (
{
char_u *sfname = NULL; /* short file name */
char_u *tail;
- int save_changed;
+ bool save_changed;
buf_T *old_curbuf;
int retval = FALSE;
char_u *save_sourcing_name;