From a89e39a35eee1496c7b9c849fb412149e0671cdd Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 5 Jul 2006 16:09:36 +0000
Subject: [PATCH] cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3756 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/winio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/winio.c b/src/winio.c
index 1283c6ab..7d2b6543 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2052,8 +2052,8 @@ void titlebar(const char *path)
 	size_t lenpt = strlenpt(path), start_col;
 
 	/* Don't set dots to TRUE if we have at least 1/3 the length of
-	 * the screen in columns, minus two columns for spaces. */
-	dots = (space >= (COLS / 3) - 2 && lenpt >= space);
+	 * the screen in columns. */
+	dots = (space >= COLS / 3 && lenpt >= space);
 
 	if (dots) {
 	    start_col = lenpt - space + 3;
-- 
GitLab