Commit 0cae0877 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3750 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -616,7 +616,8 @@ void browser_refresh(void)
/* The maximum length of the file information in
* columns: 7 for "--", "(dir)", or the file size, and
* 12 for "(parent dir)". */
bool dots = (filetaillen > longest - foomaxlen - 1);
bool dots = (COLS < 15 ? FALSE : filetaillen > longest -
foomaxlen - 1);
/* Do we put an ellipsis before the filename? */
char *disp = display_string(filetail, dots ? filetaillen -
longest + foomaxlen + 4 : 0, longest, FALSE);
......
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