diff --git a/src/winio.c b/src/winio.c
index a253ad8cd7ddf20f210e299674ba56dae6684fe6..2793de56c219e64c27e83c39224c7e3120d281b1 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')