nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit a89e39a35eee1496c7b9c849fb412149e0671cdd
parent afeed5f64092382868b25393751f5321e303b810
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed,  5 Jul 2006 16:09:36 +0000

cosmetic fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3756 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/winio.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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;