aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memline.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-24 23:10:25 -0500
committerJustin M. Keyes <justinkz@gmail.com>2019-11-24 20:10:25 -0800
commit8819b5c06eea1f47d6a8f2c00498e55a580d5519 (patch)
treeefc03698ae2d34f8c47d676655e05fd5847b31e1 /src/nvim/memline.c
parentf460bae441b2a35964c3535396e251c33c997395 (diff)
downloadrneovim-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.c5
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);