aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-30 20:36:53 -0400
committerRob Pilling <robpilling@gmail.com>2019-11-13 20:59:21 +0000
commitc512dffb55b259d50fb91326e40a7b4da95e525b (patch)
treed4aa982d5745f92ce1875ba03e1c0f267e888bdf /src/nvim/mark.c
parentece3d19b026b80c933e650c4422f8b1a4ab4bde9 (diff)
downloadrneovim-c512dffb55b259d50fb91326e40a7b4da95e525b.tar.gz
rneovim-c512dffb55b259d50fb91326e40a7b4da95e525b.tar.bz2
rneovim-c512dffb55b259d50fb91326e40a7b4da95e525b.zip
vim-patch:8.1.0266: parsing Ex address range is not a separate function
Problem: Parsing Ex address range is not a separate function. Solution: Refactor do_one_cmd() to separate address parsing. https://github.com/vim/vim/commit/ee8415bc5998792fab6f4dcf289d027856e05b89
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r--src/nvim/mark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index e8f1651a6e..432639d540 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -296,17 +296,17 @@ pos_T *movechangelist(int count)
* - NULL if there is no mark called 'c'.
* - -1 if mark is in other file and jumped there (only if changefile is TRUE)
*/
-pos_T *getmark_buf(buf_T *buf, int c, int changefile)
+pos_T *getmark_buf(buf_T *buf, int c, bool changefile)
{
return getmark_buf_fnum(buf, c, changefile, NULL);
}
-pos_T *getmark(int c, int changefile)
+pos_T *getmark(int c, bool changefile)
{
return getmark_buf_fnum(curbuf, c, changefile, NULL);
}
-pos_T *getmark_buf_fnum(buf_T *buf, int c, int changefile, int *fnum)
+pos_T *getmark_buf_fnum(buf_T *buf, int c, bool changefile, int *fnum)
{
pos_T *posp;
pos_T *startp, *endp;