Merge pull request #15206 from dundargoc/refactor/a-song-of-true-and-false/global-variables-2

refactor: replace TRUE/FALSE with true/false
This commit is contained in:
Björn Linse
2021-07-30 17:53:07 +02:00
committed by GitHub
18 changed files with 177 additions and 170 deletions

View File

@@ -1443,7 +1443,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);
@@ -2000,10 +2000,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".