typo fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3768 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
c284e1ddb8
commit
d59c42363b
|
@ -616,7 +616,7 @@ void browser_refresh(void)
|
||||||
/* The maximum length of the file information in
|
/* The maximum length of the file information in
|
||||||
* columns: 7 for "--", "(dir)", or the file size, and
|
* columns: 7 for "--", "(dir)", or the file size, and
|
||||||
* 12 for "(parent dir)". */
|
* 12 for "(parent dir)". */
|
||||||
bool dots = (COLS >= 15 && filetaillen >= longest -
|
bool dots = (COLS >= 15 && filetaillen > longest -
|
||||||
foomaxlen - 1);
|
foomaxlen - 1);
|
||||||
/* Do we put an ellipsis before the filename? Don't set
|
/* Do we put an ellipsis before the filename? Don't set
|
||||||
* this to TRUE if we have fewer than 15 columns (i.e, 1
|
* this to TRUE if we have fewer than 15 columns (i.e, 1
|
||||||
|
|
|
@ -2053,7 +2053,7 @@ void titlebar(const char *path)
|
||||||
|
|
||||||
/* Don't set dots to TRUE if we have fewer than 8 columns (i.e,
|
/* Don't set dots to TRUE if we have fewer than 8 columns (i.e,
|
||||||
* 1 column for padding, plus 7 columns for a filename). */
|
* 1 column for padding, plus 7 columns for a filename). */
|
||||||
dots = (space >= 7 && lenpt >= space);
|
dots = (space >= 8 && lenpt > space);
|
||||||
|
|
||||||
if (dots) {
|
if (dots) {
|
||||||
start_col = lenpt - space + 3;
|
start_col = lenpt - space + 3;
|
||||||
|
|
Loading…
Reference in New Issue