]> granicus.if.org Git - mutt/commit
Setting $sidebar_width to more than 128 would cause bad things to happen.
authorRichard Russon <rich@flatcap.org>
Tue, 7 Jun 2016 20:40:04 +0000 (13:40 -0700)
committerRichard Russon <rich@flatcap.org>
Tue, 7 Jun 2016 20:40:04 +0000 (13:40 -0700)
commitb9a6854dea5900fec96236fa13c2e73a48ae85d7
tree81c61174b24224e342ffd3ed4c56c3177cb567f8
parent0e3d502ea09ffae28b93e47a4dfb4db9471259b9
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(-)
sidebar.c