nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 7dd1869713714fe5db77ad5533c9bcda858fdce6
parent 96eef7332bd4f58b4ad5d86048f591201d964ba1
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sun, 26 Aug 2001 23:16:44 +0000

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

Diffstat:
Mwinio.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winio.c b/winio.c @@ -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();