diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-24 23:10:25 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-11-24 20:10:25 -0800 |
commit | 8819b5c06eea1f47d6a8f2c00498e55a580d5519 (patch) | |
tree | efc03698ae2d34f8c47d676655e05fd5847b31e1 /src/nvim/memline.c | |
parent | f460bae441b2a35964c3535396e251c33c997395 (diff) | |
download | rneovim-8819b5c06eea1f47d6a8f2c00498e55a580d5519.tar.gz rneovim-8819b5c06eea1f47d6a8f2c00498e55a580d5519.tar.bz2 rneovim-8819b5c06eea1f47d6a8f2c00498e55a580d5519.zip |
vim-patch:8.1.0461: quickfix: change comment style #11453
Problem: Quickfix code uses too many /* */ comments.
Solution: Change to // comments. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 2824d57f49..e5ba17a0a7 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -540,7 +540,7 @@ void ml_open_file(buf_T *buf) /// file, or reading into an existing buffer, create a swap file now. /// /// @param newfile reading file into new buffer -void check_need_swap(int newfile) +void check_need_swap(bool newfile) { int old_msg_silent = msg_silent; // might be reset by an E325 message msg_silent = 0; // If swap dialog prompts for input, user needs to see it! @@ -937,8 +937,9 @@ void ml_recover(bool checkext) */ if (directly) { expand_env(b0p->b0_fname, NameBuff, MAXPATHL); - if (setfname(curbuf, NameBuff, NULL, TRUE) == FAIL) + if (setfname(curbuf, NameBuff, NULL, true) == FAIL) { goto theend; + } } home_replace(NULL, mfp->mf_fname, NameBuff, MAXPATHL, TRUE); |