From 9738c7997bf554fdee6022b12cc8c611e16f1484 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 12 Sep 2017 21:47:17 +0200
Subject: [PATCH] titlebar: drop the prefix "File: " from before the filename

---
 src/winio.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/winio.c b/src/winio.c
index 86f67b36..a253ad8c 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2006,7 +2006,7 @@ void titlebar(const char *path)
     const char *branding = BRANDING;
 	/* What is shown in the top left corner. */
     const char *prefix = "";
-	/* What is shown before the path -- "File:", "DIR:", or "". */
+	/* What is shown before the path -- "DIR:" or nothing. */
     const char *state = "";
 	/* The state of the current buffer -- "Modified", "View", or "". */
     char *caption;
@@ -2047,10 +2047,8 @@ void titlebar(const char *path)
     else {
 	if (openfile->filename[0] == '\0')
 	    path = _("New Buffer");
-	else {
+	else
 	    path = openfile->filename;
-	    prefix = _("File:");
-	}
 
 	if (openfile->modified)
 	    state = _("Modified");
-- 
GitLab