aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2024-09-11 15:32:08 -0500
committerGitHub <noreply@github.com>2024-09-11 20:32:08 +0000
commit98ba65b8be8cb2dde839502357e70916c4a3e37a (patch)
tree4272b21c03fe5403b0a71d919d8169e3a4963084 /src/nvim/buffer.c
parentf9bf64d74641f33961fe1d6c1592b65d2744298f (diff)
downloadrneovim-98ba65b8be8cb2dde839502357e70916c4a3e37a.tar.gz
rneovim-98ba65b8be8cb2dde839502357e70916c4a3e37a.tar.bz2
rneovim-98ba65b8be8cb2dde839502357e70916c4a3e37a.zip
fix: replace NVIM with Nvim in default titlestring (#30348)
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index f986f558a9..e47db44f68 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -3338,7 +3338,7 @@ void maketitle(void)
#define SPACE_FOR_FNAME (sizeof(buf) - 100)
#define SPACE_FOR_DIR (sizeof(buf) - 20)
-#define SPACE_FOR_ARGNR (sizeof(buf) - 10) // At least room for " - NVIM".
+#define SPACE_FOR_ARGNR (sizeof(buf) - 10) // At least room for " - Nvim".
char *buf_p = buf;
if (curbuf->b_fname == NULL) {
const size_t size = xstrlcpy(buf_p, _("[No Name]"),
@@ -3412,7 +3412,7 @@ void maketitle(void)
append_arg_number(curwin, buf_p, (int)(SPACE_FOR_ARGNR - (size_t)(buf_p - buf)));
- xstrlcat(buf_p, " - NVIM", (sizeof(buf) - (size_t)(buf_p - buf)));
+ xstrlcat(buf_p, " - Nvim", (sizeof(buf) - (size_t)(buf_p - buf)));
if (maxlen > 0) {
// Make it shorter by removing a bit in the middle.