From a5322ee5ad0fa73af7622d00b0c870ad519965bc Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 7 Jul 2006 15:54:32 +0000 Subject: [PATCH] another cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3765 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/winio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/winio.c b/src/winio.c index cfc2f4ea..9fe6934c 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2051,9 +2051,8 @@ 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/5 the length of - * the screen in columns. */ - dots = (space >= COLS / 5 && lenpt >= space); + /* Don't set dots to TRUE if we have fewer than 8 columns. */ + dots = (space >= 8 && lenpt >= space); if (dots) { start_col = lenpt - space + 3; -- 2.39.5