From: David Lawrence Ramsey Date: Fri, 7 Jul 2006 15:54:32 +0000 (+0000) Subject: another cosmetic fix X-Git-Tag: v1.9.99pre1~96 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a5322ee5ad0fa73af7622d00b0c870ad519965bc;p=nano.git another cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3765 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;