]> granicus.if.org Git - mutt/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)
commitc9223a12cdde6f9c1589c422216021b9eae048e1
treeff0f3d204093fe6d785156aaf0cbea3807dec345
parentc8bd15377ed657b7afbed1f74c6b052e06b19d23
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