commit e328169b6de621afd4a13a389f7b405981a150fa
parent 4e685885967d27cc84449c401b1425330688d84e
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 9 Jul 2006 00:50:23 +0000
remove unneeded #ifdef
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3771 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git 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)