diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-07-26 22:17:23 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-07-30 12:29:32 +0200 |
commit | 94120d2fd5a9e1f340921283bb5f5db1824899c2 (patch) | |
tree | 65cbfbb3a174c8b24b991b2322828bf89aac3c24 /src/nvim/main.c | |
parent | c642f3ac27aa842e374334d11291fd5129ab6887 (diff) | |
download | rneovim-94120d2fd5a9e1f340921283bb5f5db1824899c2.tar.gz rneovim-94120d2fd5a9e1f340921283bb5f5db1824899c2.tar.bz2 rneovim-94120d2fd5a9e1f340921283bb5f5db1824899c2.zip |
refactor: replace TRUE/FALSE with true/false
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 8b8be9cc39..25593134fd 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -1448,7 +1448,7 @@ static void read_stdin(void) // When getting the ATTENTION prompt here, use a dialog. swap_exists_action = SEA_DIALOG; no_wait_return = true; - int save_msg_didany = msg_didany; + bool save_msg_didany = msg_didany; set_buflisted(true); // Create memfile and read from stdin. (void)open_buffer(true, NULL, 0); @@ -2005,10 +2005,10 @@ static void mainerr(const char *errstr, const char *str) /// Prints version information for "nvim -v" or "nvim --version". static void version(void) { - info_message = TRUE; // use mch_msg(), not mch_errmsg() + info_message = true; // use mch_msg(), not mch_errmsg() list_version(); msg_putchar('\n'); - msg_didout = FALSE; + msg_didout = false; } /// Prints help message for "nvim -h" or "nvim --help". |