refactor: replace TRUE/FALSE with true/false

This commit is contained in:
Dundar Göc
2021-07-26 22:17:23 +02:00
parent c642f3ac27
commit 94120d2fd5
18 changed files with 177 additions and 170 deletions

View File

@@ -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".