summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-10 19:25:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-10 19:25:05 +0200
commit4f25b1aba050b85fa97ca2316aa04dd4b0b22530 (patch)
tree9f051b3953c6eb88e6d5fc1cc5728d348fe626b3 /src/message.c
parenta953b5cf4f291875b805262eebd361e502de8c92 (diff)
downloadvim-git-4f25b1aba050b85fa97ca2316aa04dd4b0b22530.tar.gz
patch 8.2.1653: expand('<stack>') does not include the final line numberv8.2.1653
Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index a9851efab..059835af0 100644
--- a/src/message.c
+++ b/src/message.c
@@ -461,7 +461,7 @@ get_emsg_source(void)
if (SOURCING_NAME != NULL && other_sourcing_name())
{
- char_u *sname = estack_sfile(FALSE);
+ char_u *sname = estack_sfile(ESTACK_NONE);
char_u *tofree = sname;
if (sname == NULL)