Commit 9738c799 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

titlebar: drop the prefix "File: " from before the filename

No related merge requests found
Showing with 2 additions and 4 deletions
+2 -4
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment