diff src/evalfunc.c @ 15388:7444fffa482d v8.1.0702

patch 8.1.0702: ":sign place" only uses the current buffer commit https://github.com/vim/vim/commit/b589f95b38ddd779d7e696abb0ea011dc92ea903 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 7 22:10:00 2019 +0100 patch 8.1.0702: ":sign place" only uses the current buffer Problem: ":sign place" only uses the current buffer. Solution: List signs for all buffers when there is no buffer argument. Fix error message for invalid buffer name in sign_place(). (Yegappan Lakshmanan, closes #3774)
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Jan 2019 22:15:04 +0100
parents 01ee8dc12313
children 51b3c36b0523
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -11462,7 +11462,7 @@ f_sign_place(typval_T *argvars, typval_T
     buf = tv_get_buf(&argvars[3], FALSE);
     if (buf == NULL)
     {
-	EMSG2(_("E158: Invalid buffer name: %s"), tv_get_string(&argvars[2]));
+	EMSG2(_("E158: Invalid buffer name: %s"), tv_get_string(&argvars[3]));
 	goto cleanup;
     }