]> granicus.if.org Git - neomutt/commit
Add cols parameter to mutt_FormatString()
authorKevin McCarthy <kevin@8t8.us>
Thu, 28 Apr 2016 00:56:59 +0000 (17:56 -0700)
committerKevin McCarthy <kevin@8t8.us>
Thu, 28 Apr 2016 00:56:59 +0000 (17:56 -0700)
commit95c0678dd648b28fe2ba3a46eb8f2fd2a1f90356
treeff0f3d204093fe6d785156aaf0cbea3807dec345
parente64a888fd887a52bca97e6139a8cb4a1db8c520c
Add cols parameter to mutt_FormatString()

Continuing with the conversion to using windows for screen drawing,
mutt_FormatString() was directly using COLS for right justification
and similar formatting.  Instead pass in a parameter, cols.

This change involved seeding the parameter through callback functions
too, as many of them call mutt_FormatString() back.
14 files changed:
addrbook.c
browser.c
compose.c
crypt-gpgme.c
hdrline.c
muttlib.c
pgpinvoke.c
pgpkey.c
protos.h
query.c
recvattach.c
remailer.c
smime.c
status.c