diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-07 12:32:13 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-07 13:11:51 -0400 |
commit | 672449e448e504b0ee1e4f1fea13932c90ae8211 (patch) | |
tree | 4eecbebfc5491a63e9e1783e52ff220fad77d2f0 /src/nvim/spell.c | |
parent | 80df0a8fd23f4b51792e6f4a5f373b3aca1437c8 (diff) | |
download | rneovim-672449e448e504b0ee1e4f1fea13932c90ae8211.tar.gz rneovim-672449e448e504b0ee1e4f1fea13932c90ae8211.tar.bz2 rneovim-672449e448e504b0ee1e4f1fea13932c90ae8211.zip |
memline: copy in ml_replace() is bool
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index cb03257878..770e608832 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -2944,7 +2944,7 @@ void spell_suggest(int count) memmove(p, line, c); STRCPY(p + c, stp->st_word); STRCAT(p, sug.su_badptr + stp->st_orglen); - ml_replace(curwin->w_cursor.lnum, p, FALSE); + ml_replace(curwin->w_cursor.lnum, p, false); curwin->w_cursor.col = c; // For redo we use a change-word command. @@ -3062,7 +3062,7 @@ void ex_spellrepall(exarg_T *eap) memmove(p, line, curwin->w_cursor.col); STRCPY(p + curwin->w_cursor.col, repl_to); STRCAT(p, line + curwin->w_cursor.col + STRLEN(repl_from)); - ml_replace(curwin->w_cursor.lnum, p, FALSE); + ml_replace(curwin->w_cursor.lnum, p, false); changed_bytes(curwin->w_cursor.lnum, curwin->w_cursor.col); if (curwin->w_cursor.lnum != prev_lnum) { |