Re: [PATCH] limit sidebar width to prevent overflow

2016-06-07 Thread Kevin J. McCarthy
On Tue, Jun 07, 2016 at 06:29:34PM +0100, Richard Russon wrote: > Setting $sidebar_width to more than 128 would cause bad things to happen. > > First, give the users more than enough space. > Second, don't pad out short strings beyond the buffer Pushed. -- Kevin J. McCarthy GPG Fingerprint: 897

[PATCH] limit sidebar width to prevent overflow

2016-06-07 Thread Richard Russon
Setting $sidebar_width to more than 128 would cause bad things to happen. First, give the users more than enough space. Second, don't pad out short strings beyond the buffer --- sidebar.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sidebar.c b/sidebar.c index