]> granicus.if.org Git - mutt/commit
Let %*X padding share the same code of %>X padding
authorRocco Rutte <pdmef@gmx.net>
Tue, 11 Sep 2007 16:21:40 +0000 (18:21 +0200)
committerRocco Rutte <pdmef@gmx.net>
Tue, 11 Sep 2007 16:21:40 +0000 (18:21 +0200)
commitc1dbfc78cd2915c2e13b24f7022e47158c34a60a
tree86f1c6dfdaeb725ae81ead06714eba1bc4473eaf
parent35dc21f41a5c541ac8c35f67e47810d3cbe5123b
Let %*X padding share the same code of %>X padding
The current implementation of %*X was completely multibyte-unaware and
had buffer overflow issues with large terminals. Now we use the same
code as %>X has and optionally only truncate left content to make sure
the right content can be printed entirely.
muttlib.c