diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-05 19:36:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-05 19:36:38 +0100 |
commit | 00806bceb6dc9c8dcd308e5f7e50f720f7dc71b0 (patch) | |
tree | bf1d99fc4d9567c97dc56b4e6d0edffd74981b7e /src/proto/buffer.pro | |
parent | b885b435d126d34475714e39ec1125bd4e1c77c6 (diff) | |
download | vim-git-00806bceb6dc9c8dcd308e5f7e50f720f7dc71b0.tar.gz |
patch 8.2.1959: crash when terminal buffer name is made emptyv8.2.1959
Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
Solution: Fall back to "[No Name]". (closes #7262)
Diffstat (limited to 'src/proto/buffer.pro')
-rw-r--r-- | src/proto/buffer.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro index 3fdcc6949..82bcaf3c1 100644 --- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -66,6 +66,7 @@ int bt_dontwrite(buf_T *buf); int bt_dontwrite_msg(buf_T *buf); int buf_hide(buf_T *buf); char_u *buf_spname(buf_T *buf); +char_u *buf_get_fname(buf_T *buf); void set_buflisted(int on); int buf_contents_changed(buf_T *buf); void wipe_buffer(buf_T *buf, int aucmd); |