diff --git a/src/winio.c b/src/winio.c
index 7e3feaaa479b6415cf1bdb0b223d91b7d9b5c5ff..3edae1ee594caf027874756795578a9a2f470dd0 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2010,11 +2010,8 @@ void titlebar(const char *path)
 	state = openfile->modified ? _("Modified") : ISSET(VIEW_MODE) ?
 		_("View") : "";
 
-    statelen = strlenpt((state[0] == '\0'
-#ifndef DISABLE_BROWSER
-	&& path == NULL
-#endif
-	) ? _("Modified") : state);
+    statelen = strlenpt((state[0] == '\0' && path == NULL) ?
+	_("Modified") : state);
 
     /* If possible, add a space before state. */
     if (space > 0 && statelen < space)