cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3750 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-07-05 05:43:20 +00:00
parent 567d471681
commit 0cae087784
1 changed files with 2 additions and 1 deletions

View File

@ -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);