titlebar: don't show nano's name and version when in the file browser

master
Benno Schulenberg 2017-09-12 21:58:45 +02:00
parent 9738c7997b
commit f9bf320fd5
1 changed files with 3 additions and 1 deletions

View File

@ -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')