commit a5322ee5ad0fa73af7622d00b0c870ad519965bc parent c2e585ef6c2fa54a6a2be3e6e0fbbfe5f624b7c9 Author: David Lawrence Ramsey <pooka109@gmail.com> Date: Fri, 7 Jul 2006 15:54:32 +0000 another cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3765 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 Diffstat:
M | src/winio.c | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git 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;