Commit e328169b authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

remove unneeded #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3771 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 5 deletions
+2 -5
...@@ -2010,11 +2010,8 @@ void titlebar(const char *path) ...@@ -2010,11 +2010,8 @@ void titlebar(const char *path)
state = openfile->modified ? _("Modified") : ISSET(VIEW_MODE) ? state = openfile->modified ? _("Modified") : ISSET(VIEW_MODE) ?
_("View") : ""; _("View") : "";
statelen = strlenpt((state[0] == '\0' statelen = strlenpt((state[0] == '\0' && path == NULL) ?
#ifndef DISABLE_BROWSER _("Modified") : state);
&& path == NULL
#endif
) ? _("Modified") : state);
/* If possible, add a space before state. */ /* If possible, add a space before state. */
if (space > 0 && statelen < space) if (space > 0 && statelen < space)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment