summaryrefslogtreecommitdiffstats
path: root/src/proto/buffer.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-05 19:36:38 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-05 19:36:38 +0100
commit00806bceb6dc9c8dcd308e5f7e50f720f7dc71b0 (patch)
treebf1d99fc4d9567c97dc56b4e6d0edffd74981b7e /src/proto/buffer.pro
parentb885b435d126d34475714e39ec1125bd4e1c77c6 (diff)
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.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro
index 3fdcc69497..82bcaf3c1f 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);