commit f9bf320fd5141d4010eb468a2ee02ddd5886ad90
parent 9738c7997bf554fdee6022b12cc8c611e16f1484
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 12 Sep 2017 21:58:45 +0200
titlebar: don't show nano's name and version when in the file browser
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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')