Commit a5322ee5 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

another cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3765 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 3 deletions
+2 -3
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment