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
parent 4e685885
Showing with 2 additions and 5 deletions
+2 -5
......@@ -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)
......
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