Make the new bottombars not suck quite so badly

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@751 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2001-08-26 23:16:44 +00:00
parent 96eef7332b
commit 7dd1869713
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ void bottombars(shortcut s[], int slen)
if (slen < 2)
k = COLS / 6 - 13;
else
k = COLS / (slen / 2) - 13;
k = COLS / ((slen + (slen %2)) / 2) - 13;
clear_bottomwin();