From f9bf320fd5141d4010eb468a2ee02ddd5886ad90 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@telfort.nl> Date: Tue, 12 Sep 2017 21:58:45 +0200 Subject: [PATCH] titlebar: don't show nano's name and version when in the file browser --- src/winio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index a253ad8c..2793de56 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2041,8 +2041,10 @@ void titlebar(const char *path) if (inhelp) branding = ""; #ifdef ENABLE_BROWSER - else if (path != NULL) + else if (path != NULL) { + branding = ""; prefix = _("DIR:"); + } #endif else { if (openfile->filename[0] == '\0') -- GitLab