mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 18:28:19 +00:00
Replace int with bool in some files. #654
This commit is contained in:

committed by
Justin M. Keyes

parent
3cf435af36
commit
ef34a0ab13
@@ -1834,7 +1834,7 @@ void changed(void)
|
||||
* and don't let the emsg() set msg_scroll. */
|
||||
if (need_wait_return && emsg_silent == 0) {
|
||||
out_flush();
|
||||
ui_delay(2000L, TRUE);
|
||||
ui_delay(2000L, true);
|
||||
wait_return(TRUE);
|
||||
msg_scroll = save_msg_scroll;
|
||||
}
|
||||
@@ -2257,7 +2257,7 @@ change_warning (
|
||||
(void)msg_end();
|
||||
if (msg_silent == 0 && !silent_mode) {
|
||||
out_flush();
|
||||
ui_delay(1000L, TRUE); /* give the user time to think about it */
|
||||
ui_delay(1000L, true); /* give the user time to think about it */
|
||||
}
|
||||
curbuf->b_did_warn = TRUE;
|
||||
redraw_cmdline = FALSE; /* don't redraw and erase the message */
|
||||
|
Reference in New Issue
Block a user