commit | 4f25b1aba050b85fa97ca2316aa04dd4b0b22530 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Sep 10 19:25:05 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Sep 10 19:25:05 2020 +0200 |
tree | 9f051b3953c6eb88e6d5fc1cc5728d348fe626b3 | |
parent | a953b5cf4f291875b805262eebd361e502de8c92 [diff] [blame] |
patch 8.2.1653: expand('<stack>') does not include the final line number Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
diff --git a/src/message.c b/src/message.c index a9851ef..059835a 100644 --- a/src/message.c +++ b/src/message.c
@@ -461,7 +461,7 @@ 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)