diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-02 09:09:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 09:09:40 +0100 |
commit | 87d67814e58b875a1cb4de4c39c252e028b5eafb (patch) | |
tree | 76d62b5a137b6ed1694da6bab6608c445b1968cf /src/nvim/misc1.c | |
parent | 48398d61e422f74db4fa5c2e279692dd97347f41 (diff) | |
parent | a9b7debbbc7c0190324523710ea7e6ed6070222c (diff) | |
download | rneovim-87d67814e58b875a1cb4de4c39c252e028b5eafb.tar.gz rneovim-87d67814e58b875a1cb4de4c39c252e028b5eafb.tar.bz2 rneovim-87d67814e58b875a1cb4de4c39c252e028b5eafb.zip |
Merge #9184 from janlazo/vim-8.0.1758
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 7e9d68a4b4..4032210213 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -98,7 +98,7 @@ open_line ( colnr_T newcol = 0; // new cursor column int newindent = 0; // auto-indent of the new line bool trunc_line = false; // truncate current line afterwards - bool retval = false; // return value, default is false + bool retval = false; // return value int extra_len = 0; // length of p_extra string int lead_len; // length of comment leader char_u *lead_flags; // position in 'comments' for comment leader @@ -922,7 +922,7 @@ open_line ( next_line = NULL; } - retval = TRUE; /* success! */ + retval = true; // success! theend: curbuf->b_p_pi = saved_pi; xfree(saved_line); |