aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-07 12:32:13 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-07 13:11:51 -0400
commit672449e448e504b0ee1e4f1fea13932c90ae8211 (patch)
tree4eecbebfc5491a63e9e1783e52ff220fad77d2f0 /src/nvim/ex_getln.c
parent80df0a8fd23f4b51792e6f4a5f373b3aca1437c8 (diff)
downloadrneovim-672449e448e504b0ee1e4f1fea13932c90ae8211.tar.gz
rneovim-672449e448e504b0ee1e4f1fea13932c90ae8211.tar.bz2
rneovim-672449e448e504b0ee1e4f1fea13932c90ae8211.zip
memline: copy in ml_replace() is bool
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index ee616ae955..fbee302ff3 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -6100,7 +6100,7 @@ static int open_cmdwin(void)
/* Replace the empty last line with the current command-line and put the
* cursor there. */
- ml_replace(curbuf->b_ml.ml_line_count, ccline.cmdbuff, TRUE);
+ ml_replace(curbuf->b_ml.ml_line_count, ccline.cmdbuff, true);
curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
curwin->w_cursor.col = ccline.cmdpos;
changed_line_abv_curs();