commit 7f801743736ee515cccc1e8dc6ca7c74a674cd03
parent a89e39a35eee1496c7b9c849fb412149e0671cdd
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 5 Jul 2006 16:46:22 +0000
another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3757 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/winio.c b/src/winio.c
@@ -2051,9 +2051,9 @@ void titlebar(const char *path)
if (!newfie) {
size_t lenpt = strlenpt(path), start_col;
- /* Don't set dots to TRUE if we have at least 1/3 the length of
+ /* Don't set dots to TRUE if we have at least 1/5 the length of
* the screen in columns. */
- dots = (space >= COLS / 3 && lenpt >= space);
+ dots = (space >= COLS / 5 && lenpt >= space);
if (dots) {
start_col = lenpt - space + 3;