aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/mark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index 2bbe2788d3..57532c9cac 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -434,9 +434,8 @@ pos_T *getmark_buf_fnum(buf_T *buf, int c, bool changefile, int *fnum)
}
pos_copy.lnum = -1; // can't get file
} else {
- pos_copy.lnum = 0; // mark exists, but is not valid in
+ pos_copy.lnum = 0; // mark exists, but is not valid in current buffer
}
- // current buffer
}
}