From 7dd1869713714fe5db77ad5533c9bcda858fdce6 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sun, 26 Aug 2001 23:16:44 +0000 Subject: [PATCH] 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 --- winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winio.c b/winio.c index dae7e9c6..17aeceda 100644 --- 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(); -- 2.39.5